Commit Graph

24449 Commits

Author SHA1 Message Date
Aleksandr Popovich 244c07c999 Added option for software keyboard applet on android (#113)
Signed-off-by: Aleksandr Popovich <alekpopo@pm.me>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/113
Co-authored-by: Aleksandr Popovich <alekpopo@pm.me>
Co-committed-by: Aleksandr Popovich <alekpopo@pm.me>
2025-05-19 21:28:51 +00:00
Aleksandr Popovich ed4b011cad fix more vulkan issues and remove vertex input (#117)
Co-authored-by: swurl <swurl@swurl.xyz>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/117
Co-authored-by: Aleksandr Popovich <alekpopo@pm.me>
Co-committed-by: Aleksandr Popovich <alekpopo@pm.me>
2025-05-19 21:28:16 +00:00
swurl 3cad73dad6
Revert "THIS NEEDS TO BE CHECKED BEFORE MERGE: RAII fix, initial MSAA, some fixes for memory misallocation (#116)"
This reverts commit ce5d5d2aff.
2025-05-19 15:22:08 -04:00
swurl 89c06a7383
fix vk extension removal
Signed-off-by: swurl <swurl@swurl.xyz>
2025-05-19 15:21:43 -04:00
Esther1024 ea7b9519c7 fix uninit values in applet and mouse (#114)
read before written; initialize so valgrind stops complaining

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/114
Co-authored-by: Esther1024 <danishreyjavik@outlook.com>
Co-committed-by: Esther1024 <danishreyjavik@outlook.com>
2025-05-19 19:11:06 +00:00
Aleksandr Popovich cda9f32b16 added qlaunch shortcut and command line option. (#112)
Signed-off-by: Aleksandr Popovich <alekpopo@pm.me>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/112
Co-authored-by: Aleksandr Popovich <alekpopo@pm.me>
Co-committed-by: Aleksandr Popovich <alekpopo@pm.me>
2025-05-18 17:47:54 +00:00
MrPurple666 ce5d5d2aff THIS NEEDS TO BE CHECKED BEFORE MERGE: RAII fix, initial MSAA, some fixes for memory misallocation (#116)
• MSAA Fixes: Fixes upload/download for MSAA textures using temporary non-MSAA images. Ensures compatibility with color formats and adds fallbacks for depth/stencil.
• Memory fix misallocation: Adds checks for null/zero-length operations in memory management and improves cleanup to avoid crashes (Related to crash issues due to misallocation, RP5 and 865)
• Vulkan Initialization (RAII): this almost rewrites the way vulkan initializes to avoid crashes, using a correct order now (thanks @crueter  for the initial fix)

•Please check before merging:
- Test MSAA workflows (especially color/depth transitions and low memory cases).
- Verify memory operations (e.g., unmapping zero-length regions).
- Check Vulkan object lifetimes and platform-specific behavior.
- Check others plataforms beyond android

Why is everything in one PR? Otherwise, this is all a big fix, by checking the points above we can create a branch for each one and check them by themselves. I'm not standing still while I'm away, I'm just out of time for now.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/116
Co-authored-by: MrPurple666 <mrpurple666@noreply.localhost>
Co-committed-by: MrPurple666 <mrpurple666@noreply.localhost>
2025-05-18 17:45:32 +00:00
Aleksandr Popovich 049cc54f4c fixes vulkan issues and android settings (#105)
- removes provoking vertex, vertex input, dynamic state if not supported
- moves dynamic state to be a 0-3 slider and vertex input its own checkbox
- the rich presence was disabled on linux.
- there were duplicate settings in "edens veil"?
- weird behavior of the vertex input checkbox on per game setting
- adds xenoblade 2 to the d24 conversion control function
- adds the flush logs by line setting to android.
- adds the memory layout setting to android
- Adds the option to show building shaders on the android overlay.

Signed-off-by: Aleksandr Popovich <alekpopo@pm.me>
Co-authored-by: swurl <swurl@swurl.xyz>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/105
Co-authored-by: Aleksandr Popovich <alekpopo@pm.me>
Co-committed-by: Aleksandr Popovich <alekpopo@pm.me>
2025-05-17 20:22:25 +00:00
Bix 9d7075254d Added Samsung Gaming hub support (#107)
Added Samsung Gaming hub to the APP manifest.

Signed-off-by: Bix <xq9zp7f2@proton.me>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/107
2025-05-14 17:35:38 +00:00
MaranBr 8254a0e0de Update Qt to 6.8.3 and fixes dark mode being forced automatically even when light theme is set in app settings 2025-05-13 14:44:29 -04:00
Pavel Barabanov dbd745138e returned several services 2025-05-12 03:56:25 +03:00
Pavel Barabanov 5608ab1cd4
everything related to the FW 20 has been deleted. 2025-05-11 20:18:26 -04:00
swurl 7e943732bf fix a large variety of issues (#101)
- GLASM/SPIR-V mixup on Android
- potential greenscreen fix (thx suyu)
- save memory layout and add 10gb/12gb options
- potential samsung gaming hub fix
- fix layout of controller UI
- fix default settings to sensible defaults.
- note to TotK that you should increase memory layout
- Error checking for Windows linking
- fix an IDE error
- improved migration system w/threading and busy indicator
- disabled citron migration for now
- replaced some user-facing legacy strings with eden
- Added 10GB and 12GB DRAM layouts
- Fix Android black screen issues
- add discord link & update FAQ/Quickstart
- update links in about page
- add back rich presence
- add Don't show again for desktop pre alpha banner
- add citron warning to android and polaris to desktop

Signed-off-by: swurl <swurl@swurl.xyz>
Co-authored-by: Pavel Barabanov <pavelbarabanov94@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/101
Co-authored-by: swurl <swurl@swurl.xyz>
Co-committed-by: swurl <swurl@swurl.xyz>
2025-05-11 23:58:25 +00:00
swurl 5bbb9eba32
oops
Signed-off-by: swurl <swurl@swurl.xyz>
2025-05-10 13:37:27 -04:00
swurl 863b0e9e86
fix translations
Signed-off-by: swurl <swurl@swurl.xyz>
2025-05-10 13:34:25 -04:00
swurl 28d2b06380 Options for Data Migration (#95)
Copy, move, or link

Co-authored-by: KeatonTheBot <onikeaton@gmail.com>
Signed-off-by: swurl <swurl@swurl.xyz>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/95
Co-authored-by: swurl <swurl@swurl.xyz>
Co-committed-by: swurl <swurl@swurl.xyz>
2025-05-10 15:40:15 +00:00
swurl 09c72e9f98 update translate (#100)
Co-authored-by: Pavel Barabanov <pavelbarabanov94@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/100
Co-authored-by: swurl <swurl@swurl.xyz>
Co-committed-by: swurl <swurl@swurl.xyz>
2025-05-10 15:39:35 +00:00
swurl be552c37a1 ui/overlay: Fix enhanced frame pacing naming and disable frameskip for now. (#99)
Signed-off-by: swurl <swurl@swurl.xyz>
2025-05-10 11:38:06 -04:00
Pavel Barabanov bc649965ee Translation of new features (Android) 2025-05-10 12:19:44 +03:00
Maran Br 8f5a65bdb0 Fixes second controller not detected in DKTF and possibly other games 2025-05-09 14:20:53 +00:00
swurl aa333e6fb1 Vulkan 1.4 and New Extensions (#93)
- Add descriptor_indexing, VIDS, provoking_vertex
- Fix up EDS
- Implement VK 1.4

Co-authored-by: JPikachu <jpikachu.eden@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/93
Co-authored-by: swurl <swurl@swurl.xyz>
Co-committed-by: swurl <swurl@swurl.xyz>
2025-05-09 14:19:51 +00:00
MrPurple666 d75dc79f26 Some fixes before Release (#92)
Co-authored-by: MrPurple666 <antoniosacramento666@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/92
2025-05-08 23:03:52 +00:00
swurl f786802b9b User Data Migration from Citron, Sudachi, and Yuzu (#91)
Includes citron, sudachi, yuzu

currently broken, because the eden dir is always made early?

Signed-off-by: swurl <swurl@swurl.xyz>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/91
Co-authored-by: swurl <swurl@swurl.xyz>
Co-committed-by: swurl <swurl@swurl.xyz>
2025-05-08 22:16:07 +00:00
swurl d659d6f5b4 Runtime option for flushing logs by line (#90)
Signed-off-by: swurl <swurl@swurl.xyz>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/90
Co-authored-by: swurl <swurl@swurl.xyz>
Co-committed-by: swurl <swurl@swurl.xyz>
2025-05-08 06:20:20 +00:00
crueter 4661909f4c Firmware 20.0.0 Initial Implementation & Android: Uninstall Firmware Button
Co-authored-by: Pavel Barabanov <pavelbarabanov94@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/89
Co-authored-by: crueter <crueter@noreply.localhost>
Co-committed-by: crueter <crueter@noreply.localhost>
2025-05-07 20:15:25 +00:00
Briar 668bcb94db Android: A few fixes
- Fix icon size
- Change some description strings

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/88
Co-authored-by: Briar <205427297+icy-briar@users.noreply.github.com>
Co-committed-by: Briar <205427297+icy-briar@users.noreply.github.com>
2025-05-07 18:21:57 +00:00
Briar 49c6b1a66a Fix bAd commit revert 2025-05-06 17:59:19 -07:00
JPikachu 82c89b7bc3 revert 8390c7dff7038b55f31388f79d67e24d4328fbfd
revert Add rasterizer_accelerated (#79)

Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
2025-05-06 17:59:19 -07:00
JPikachu c8e2accf55 Add rasterizer_accelerated (#79)
Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/79
Co-authored-by: JPikachu <jpikachu@noreply.localhost>
Co-committed-by: JPikachu <jpikachu@noreply.localhost>
2025-05-06 17:58:48 -07:00
edendev b01e20414f Readd Revert Problematic Commits 2025-05-04 08:24:54 +00:00
edendev 4181b53e19 revert Remove problematic commits
revert Remove problematic commits
2025-05-04 08:17:03 +00:00
MrPurple666 b689d74bc9 Remove problematic commits 2025-05-03 16:01:11 -03:00
Briar 54c3c4503a android: Add initial frontend for LAN network rooms (#76)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/76
Co-authored-by: Briar <205427297+icy-briar@users.noreply.github.com>
Co-committed-by: Briar <205427297+icy-briar@users.noreply.github.com>
2025-05-03 17:53:09 +00:00
Pavel Barabanov d9eea0dc72 renamed SetTouchScreenOutputRanges to SetTouchScreenOutputRanges [20.0.0+] 2025-05-03 06:26:24 +03:00
Pavel Barabanov d55e400c7c started adding services for firmware 20.0.0 without implementation 2025-05-03 06:15:23 +03:00
Briar 559eb0a488 renderer_vulkan: Use raw surface handles and improve release logic (#75)
Should fix or at least lessen the crashes when leaving runtime emulation on both Android / PC
Also, may have improved the time required to leave the game

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/75
Co-authored-by: Briar <205427297+icy-briar@users.noreply.github.com>
Co-committed-by: Briar <205427297+icy-briar@users.noreply.github.com>
2025-05-02 18:42:58 +00:00
MrPurple666 7bd606bece Merge https://git.eden-emu.dev/eden-emu/eden 2025-04-30 16:19:06 -03:00
MrPurple666 bb2f527b16 Use a different approach for the LRU toggle 2025-04-30 16:11:15 -03:00
MrPurple666 b5bec371ae Add toggle for LRU 2025-04-30 04:05:45 -03:00
MrPurple666 4cf41673ba Fix some issues in RAII 2025-04-30 03:57:11 -03:00
JPikachu 8599c47fe0 service: sm/kernel/loader: Implement QueryPointerBufferSize, automatic pointer buffer sizing, and SM service improvements
This commit introduces multiple improvements to IPC handling and system management services, enhancing game compatibility and emulator stability.

--- 1. Fully Implemented QueryPointerBufferSize Service:
- Exposes the per-process IPC pointer buffer size through `QueryPointerBufferSize` instead of returning stubbed values.
- Added `m_pointer_buffer_size` field to `KProcess`, initialized with a safe default (0x8000).
- Introduced getter and setter methods (`GetPointerBufferSize()` / `SetPointerBufferSize()`).
- Registered new handler in `sm_controller` for handling QueryPointerBufferSize requests.
- Ensures accurate buffer size reporting for games relying on this service.

--- 2. Automatic Pointer Buffer Sizing Per-Game:
- Automatically determines heap size by parsing `main.npdm` from the game’s ExeFS:
  - Heap size > 1 GiB → pointer buffer size set to `0x10000`.
  - Heap size > 512 MiB → pointer buffer size set to `0xC000`.
  - Otherwise, defaults to `0x8000`.
- Gracefully handles missing or malformed `main.npdm` by falling back to default settings.
- Automatically configures pointer buffer size during `AppLoader_NCA::Load`.
- Added logging for heap size detection and buffer size configuration for easier debugging.

--- 3. SM Service Improvements:
- Added full implementation of `QueryPointerBufferSize` within the SM service framework.
- Cleaned up stubbed methods and ensured correct domain handling.
- Registered new service commands (e.g., `SetPointerBufferSize` and `QueryPointerBufferSize`) in `sm_controller`.
- Improved session handling with proper conversion to domain objects where necessary.

--- Benefits:
- Greatly improves compatibility with games that require larger IPC pointer buffers
- Eliminates the need for manual per-game pointer buffer overrides.
- More accurate emulation of Switch system services, improving stability for both commercial titles and homebrew.
- Provides cleaner logging for easier debugging and maintenance.
- Future-proofs IPC handling for upcoming titles with higher memory demands.

--- Additional Notes:
- Default pointer buffer size remains 0x8000 for smaller titles or if heap size cannot be determined.
- Falls back to safe defaults without affecting overall emulator performance.
- All new service calls properly registered and integrated without breaking existing functionality.
2025-04-30 06:35:22 +00:00
JPikachu e57b12d020 vulkan_device: Fully disable dynamic state extensions/features when dyna_state = 0
If the user selects dynamic state = 0, force-disable all Vulkan dynamic state extensions and related struct fields.
This ensures compatibility with drivers and simplifies shader pipeline logic.

Also logs all removals for clarity.
2025-04-30 06:34:49 +00:00
swurl 04578ac5b6 fix syntax
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-30 06:34:49 +00:00
JPikachu 6abdda8072 vulkan_device: Remove must_emulate_scaled_formats = false for all Qualcomm and Arm processes 2025-04-30 06:34:49 +00:00
JPikachu 0de8f866db vulkan_device: Dynamically control scaled format emulation based on dynamic state setting fixing the "0" option
If the setting dyna_state is set to 0 (dynamic state disabled), must_emulate_scaled_formats is forced "true" for proper rendering.
If dyna_state is set to 1, 2, or 3 (dynamic state enabled), must_emulate_scaled_formats is forced "false" for proper dyna-state use.

This change applies globally after all device-specific quirks and is logged clearly at boot for easier debugging.
2025-04-30 06:34:49 +00:00
JPikachu e4e27ef86b implement: New API for Multiplayer Support 2025-04-30 06:34:25 +00:00
Pavel Barabanov 37a508c3ba Add USE AUTO STUB to Android 2025-04-30 03:00:46 +03:00
Pavel Barabanov 56e619c872 Remove the stub for GetCradleFwVersion 2025-04-30 02:52:04 +03:00
MrPurple666 449a2497ea Initial MMO implementation
MMO (Multithreaded Memory Operations)
2025-04-28 16:44:35 -03:00
MrPurple666 4e7f6ef694 Better FastMemcpy and FastMemset
Use 16-byte copy paths
2025-04-28 16:44:21 -03:00
MrPurple666 476e0fe432 Use 4MB cache size instead of 1MB 2025-04-28 16:38:44 -03:00
MrPurple666 0b35e89ab9 Some RAII fixes 2025-04-28 16:27:54 -03:00
MrPurple666 a58799aca7 Initial RAII implementation 2025-04-28 16:27:42 -03:00
MrPurple666 abc7e71ecd Replace std::memcpy/memset with intrinsics on known sizes 2025-04-28 16:27:30 -03:00
MrPurple666 b695ca5a2a Revert some wip changes 2025-04-28 16:14:42 -03:00
swurl 808276b48a Dynamic State Fixes (#57)
- Forcefully disabled dynamic state extensions if Vulkan reports that
  the device doesn't support it (need to update UI for this)
- Adds some more supported state 3 extensions
- Adds back stencil reinterpretation
- default to 0 on Android and 1 on desktop

Signed-off-by: swurl <swurl@swurl.xyz>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/57
Co-authored-by: swurl <swurl@swurl.xyz>
Co-committed-by: swurl <swurl@swurl.xyz>
2025-04-27 17:07:49 -04:00
swurl de2009575e fix cmake formatting
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 16:19:38 -04:00
swurl a8f105d4ff Merge branch 'game-warnings'
Closes #55

Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 16:00:29 -04:00
swurl 9f806138ab Merge branch 'log-by-line'
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 15:58:49 -04:00
CamilleLaVey 30670bd92a Merge pull request 'Add configurations for VkExtendedDynamicState extensions' (#53) from crueter/eden:dynamic-state-config into master
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/53
2025-04-24 19:55:58 +00:00
CamilleLaVey fa950aaeca Merge pull request 'Fix Qt <6.7 build and allow speed limit to be saved' (#52) from crueter/eden:fix-limit-speed into master
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/52
2025-04-24 19:55:16 +00:00
swurl 7a9011b82d add tick marks to desktop slider
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 15:32:42 -04:00
Briar 13eb5e1be4 android: Add `dyna_state` setting to UI 2025-04-24 21:20:49 +02:00
swurl c5f98d0388 switch bad updates list to hex
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 13:40:43 -04:00
swurl 01065a89a5 fix android setting
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 12:09:59 -04:00
swurl 83cf9774e1 switch dynamic state to a slider
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 12:08:01 -04:00
swurl e8ad10350e Warn about updates for affected games
Some games suck with updates on Yuzu, this lets the user know about it.
Currently, only Tears of the Kingdom is known to be affected, but this
can easily be expanded to include more games.

Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 11:55:19 -04:00
swurl c140529a75 add notice for extensions
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 11:07:17 -04:00
swurl 918d6d3514 proper placement of clip distance init
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 11:00:28 -04:00
swurl 9cb03cd007 Log by line compilation option
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 10:58:22 -04:00
swurl eb90246803 use macro to remove eye destruction
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 22:14:57 -04:00
swurl b47c0e07a3 Proper linking between states
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 21:58:06 -04:00
swurl a137760b48 add dynamic state settings to android settings
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 21:09:45 -04:00
swurl 1949e7c438 Add dynamic state extension configs
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 20:57:53 -04:00
swurl 446e362530 remove duplicate code in statusbar
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 20:09:59 -04:00
swurl 8795b96d46 Fix Qt <6.7 build and allow speed limit to be saved
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 18:36:39 -04:00
JPikachu c64c404a2f Enable ExtendedDynamicState 3 2025-04-23 19:01:56 +01:00
edendev e96383615b Fixed typo 2025-04-22 21:02:48 -07:00
edendev 8823f12f18 Enable ExtendedDynamicState 2 and other features 2025-04-22 20:59:02 -07:00
edendev 5080513a5e Enable ExtendedDynamicState 1 across platforms 2025-04-22 18:22:25 -07:00
JPikachu c64f1994c7 Fix complination issues by making clip_distance_written static 2025-04-21 13:34:28 -04:00
JPikachu fc1a3b6310 shader compiler: Ensure all clip distances are initialized when used
Thank you to Ryujinx (riperiperi specifically) for the pointer towards clip distances
Huge thanks to crueter for finding where the code works and Camille for giving pointers along the way.
2025-04-21 13:34:24 -04:00
MrPurple666 52a692b73a Merge branch 'purple' of https://git.eden-emu.dev/MrPurple666/eden into purple 2025-04-19 19:27:01 -03:00
MrPurple666 7a62776d11 fix duplicated on merge 2025-04-19 19:26:04 -03:00
MrPurple666 f65c3042c4 Merge branch 'master' into purple 2025-04-19 21:54:56 +00:00
MrPurple666 6ac5eaea11 Merge https://git.eden-emu.dev/eden-emu/eden into purple 2025-04-19 18:53:45 -03:00
swurl f2db4dd3a1 Fix CI Building For Windows, Android & Linux 2025-04-19 14:46:06 -07:00
EmulationEnjoyer fcec7995af feat(shader): implement geometry shader invocation info
- Update EmitInvocationInfo in SPIRV backend to handle geometry shader stage

ref: 1266fad681 (diff-4cbf73a98ed4ad649a4a6f38b569bc31fcf68cf7)
2025-04-19 18:05:29 -03:00
MrPurple666 44dc152a2b Add InputTopologyVertices from torzu adapted to eden 2025-04-19 17:56:48 -03:00
FireBurn b03d51f06f Include memory header
This stops build failures for missing std::shared_ptr which is in multiple files

Signed-off-by: FireBurn <mike@fireburn.co.uk>
2025-04-19 17:56:48 -03:00
EmulationEnjoyer a5a7cb8a24 chore(HLE): Update HLE API version constants
- Updated Horizon OS version to 19.0.1 and NintendoSDK version to 1.0. Adjusted `VERSION_HASH`, `DISPLAY_VERSION`, and `DISPLAY_TITLE` to match the new firmware versions.

ref: fcb6444037
2025-04-19 17:56:48 -03:00
EmulationEnjoyer cb135ba86f shader/recompiler: Revert NVN storage buffer bias range
- Return to original NVN bias values which better cover the full range of storage buffer accesses:
- offset_begin: 0x110 -> 0x100
- offset_end: 0x610 -> 0x700

The wider range ensures we catch all valid storage buffer accesses
while maintaining the same alignment requirements.

ref: 2564e721df
2025-04-19 17:56:48 -03:00
EmulationEnjoyer e6d0c5ea42 arm: Skip duplicate consecutive addresses in backtrace output
ref: aa56430f2a
2025-04-19 17:56:48 -03:00
Zephyron cf1bcb02c5 service/vi: Improve OpenDisplay validation
Updates the OpenDisplay function in IApplicationDisplayService to properly
validate display names. Instead of only accepting "Default", now validates
against all known valid display names: "Default", "External", "Edid",
"Internal", and "Null".

- Changes log level from WARNING to DEBUG since this is no longer stubbed
- Adds proper validation for all valid display names
- Returns ResultOperationFailed for invalid display names
- Improves logging by including the requested display name
2025-04-19 17:19:38 -03:00
Zephyron 728de0406e vulkan: Improve memory allocation robustness
Enhances the Vulkan memory allocator with better OOM handling and memory
alignment:

* Add memory recovery by cleaning up empty allocations before failing
* Implement proper fallback to non-device-local memory
* Simplify memory alignment handling for different vendors
* Add better error logging for allocation failures
* Add IsEmpty() helper to track unused allocations
* Fix alignment requirements for Adreno (4KB) vs other vendors

These changes improve the robustness of memory allocation, particularly
in low-memory situations, and streamline vendor-specific alignment
requirements.
2025-04-19 17:19:16 -03:00
Laconix ee384f57c2 Turn off predictive back gesture to fix hardware back button not working in android 13 or higher 2025-04-18 15:59:59 +01:00
swurl c8a4cf715f windows actions (again) (#39)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/39
Co-authored-by: swurl <swurl@swurl.xyz>
Co-committed-by: swurl <swurl@swurl.xyz>
2025-04-17 04:50:25 +00:00
MrPurple666 19d28cf97b Fix linux build 2025-04-15 01:03:41 -03:00
Pavel Barabanov ee03ac227d Fixes the launch of some games on firmware versions 18 and above. 2025-04-15 05:59:18 +03:00
Pavel Barabanov b66ebe638b Qlauncher firmware 19 2025-04-14 14:18:13 -04:00
JPikachu d6eff706f2 Service: am: enhance UnpopInData, GetHdcpAuthenticationState and GetHdcpAuthenticationStateChangeEvent
Thanks to Sudachi and Torzu for some help and referance.
2025-04-14 14:18:13 -04:00
swurl 2d3a3f035b fix pre alpha warning label
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-14 14:18:13 -04:00
JPikachu 2149362378 Update "yuzu is not affiliated with Nintendo" to "eden is not affiliated with Nintendo" 2025-04-14 14:18:13 -04:00
MrPurple666 909a94783c fixes out_audio_controller build error 2025-04-14 12:23:30 -03:00
Zephyron 389327d3f0 vulkan: Add Samsung driver workarounds
Add workarounds for Samsung Xclipse GPUs:

- Disable extendedDynamicState3ColorBlendEquation as it is broken in Samsung
  drivers, similar to AMD drivers
- Add Samsung's proprietary driver to the validated driver list for clock
  boosting
- Fix log message to indicate both AMD and Samsung drivers have broken
  color blend equation support

Remove stray logical OR operator from validated_driver condition.
2025-04-14 12:17:19 -03:00
Zephyron cae9d9b9e8 service/audio: implement Unknown5000 and add debug commands
- Add Unknown5000 implementation to create duplicate controller interface
- Add new debug-related command handlers:
  * OverrideDefaultTargetForDebug (50001)
  * SetForceOverrideExternalDeviceNameForDebug (50003)
  * ClearForceOverrideExternalDeviceNameForDebug (50004)
- Add proper debug logging for interface creation
- Update header with new function declaration
- Fix missing commas in function registration array

These changes improve the audio controller implementation by
adding support for interface duplication and debug override
functionality. The implementation maintains proper interface
lifetime management using SharedFrom.
2025-04-14 12:15:52 -03:00
Pavel Barabanov 1bd86b08f2 Qlauncher firmware 19 2025-04-14 12:10:33 -03:00
JPikachu d87ba21d05 Service: am: enhance UnpopInData, GetHdcpAuthenticationState and GetHdcpAuthenticationStateChangeEvent
Thanks to Sudachi and Torzu for some help and referance.
2025-04-14 12:10:06 -03:00
MrPurple666 604e700a19 fix overlay options with pavel's changes and add a skipping information 2025-04-14 04:40:40 -03:00
MrPurple666 a98ac705e4 Merge branch 'pr-25' into purple 2025-04-14 04:29:24 -03:00
Pavel Barabanov b43dfff894 Eden’s Veil setting 2025-04-14 03:50:37 -03:00
MrPurple666 73d973dad6 Based on CamilleLaVey code, fix MSAA and Depth Stencil 2025-04-13 17:19:59 -03:00
darktux eb536ef8a8 Return correct amount of values from IFriendService::GetReceivedFriendRequestCount 2025-04-13 15:39:17 -03:00
darktux 26eece092f Fix NROs crashing and loading infinitely (#3)
Commit from Suyu, looks like Yuzu devs forgot to initialize memory here.

Comment from darktux: I've changed the use of memset to std::fill.

Co-authored-by: Belal Ashraf <nullequal@noreply.localhost>
Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/darktux/torzu/pulls/3
Co-authored-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
Co-committed-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
2025-04-13 15:39:03 -03:00
Briar fe51be43c1 android: Enhance FPS Overlay with more customizable options
- Now the fps follows theme color set in settings
- Added the ability to toggle stats on and off depending on user preference
- Now you are able to change the fps position and add a background behind it for easier reding

New added stats for the overlay are

FPS
FRAMETIME,
SPEED,
APP_RAM_USAGE,
SYSTEM_RAM_USAGE,
BATTERY_TEMPERATURE,
2025-04-13 05:36:30 +02:00
MrPurple666 e26a256a44 Fix Zephyron commits 2025-04-13 00:23:18 -03:00
Zephyron 777111dfb4 feat(video_core): Fix Linux compilation issues in Hybrid Memory Manager
- Added missing <thread> header for std::thread usage
- Added <fcntl.h> for O_CLOEXEC and O_NONBLOCK definitions
- Fixed struct initialization order in uffdio_copy to match declaration order

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-04-12 23:42:39 -03:00
Zephyron 34693001aa Add Windows support to Hybrid Memory Manager
This commit adds Windows-specific implementation of the fault-managed memory
system, providing similar functionality to the existing Linux/Android implementation.

Key changes:
- Added Windows-specific memory management using VirtualAlloc/VirtualFree
- Implemented Windows vectored exception handler for page fault handling
- Added proper memory protection and page fault handling on Windows
- Updated memory snapshot functionality to work on Windows
- Added proper cleanup of Windows-specific resources
- Fixed type conversion issues in memory management code
- Added proper error handling for Windows memory operations
- Fixed VRAM Memory Layout Mode to allow up to 12Gb

The implementation uses Windows-specific APIs:
- VirtualAlloc/VirtualFree for memory management
- AddVectoredExceptionHandler for page fault handling
- VirtualProtect for memory protection management

This change maintains feature parity with the Linux/Android implementation
while using Windows-native APIs for better performance and reliability.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-04-12 23:42:24 -03:00
Zephyron 9615e910f9 feat(video_core): Implement HybridMemory for advanced Vulkan memory management
Adds a new cross-platform memory management system with enhanced capabilities:
- Fault-managed memory allocation for Linux/Android platforms
- Memory snapshot and differential snapshot support
- Predictive memory reuse tracking for optimized access patterns
- Vulkan compute buffer integration
- User-configurable settings for enabling features

The system integrates with the existing Vulkan renderer to provide more
efficient memory handling, especially for compute-intensive workloads.

Co-authored-by: boss.sfc <boss.sfc@citron-emu.org>
Co-committed-by: boss.sfc <boss.sfc@citron-emu.org>
Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-04-12 23:41:26 -03:00
Zephyron 0c5659a198 video_core: Enhance Vulkan shader compilation with async threading system
Implement a robust asynchronous shader compilation system inspired by commit
1fd5fefcb17fe7fe65faed1c991fb41db782ab0f. This enhancement provides:

- True multi-threaded shader compilation with atomic status tracking
- Persistent disk caching for faster shader loading
- Command queue system for background processing
- Integration with Citron's scheduler for better resource management
- Parallel shader loading to reduce startup times
- Improved error handling and recovery mechanisms

These changes significantly reduce shader compilation stuttering and improve
overall performance when using asynchronous shaders. The implementation
maintains compatibility with Citron's existing architecture while adding
more robust threading capabilities.

Co-authored-by: boss.sfc <boss.sfc@citron-emu.org>
Co-committed-by: boss.sfc <boss.sfc@citron-emu.org>
Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-04-12 23:39:24 -03:00
Zephyron b550c6e3cc feat(vulkan): implement enhanced texture and shader management
This commit adds improved Vulkan functionality to the Citron emulator:

- Add thread-safe texture management with automatic error recovery
- Implement shader caching with validation support
- Add robust error handling for Vulkan operations
- Implement platform-specific initialization for Windows, Linux, and Android

These enhancements improve stability when handling texture loading errors
and provide better recovery mechanisms for Vulkan failures.

Co-authored-by: boss.sfc <boss.sfc@citron-emu.org>
Co-committed-by: boss.sfc <boss.sfc@citron-emu.org>
Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-04-12 23:39:19 -03:00
Zephyron 991770b84f build: fix linux compilation
- Removes unnecessary \ from Copyright Line Causing Linux Builds To Fail

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-04-12 23:37:27 -03:00
Zephyron c57a5fef92 WIP: Enhance shader compilation performance and control
This commit adds new settings and optimizations for shader compilation:

- Add new settings:
  - use_enhanced_shader_building: Enable enhanced shader compilation
  - shader_compilation_priority: Control shader compilation priority

- Improve shader compilation performance:
  - Optimize worker thread allocation based on CPU cores
  - Add smarter async shader compilation heuristics
  - Prioritize vertex and fragment shader compilation
  - Add performance tracking and logging

- Add performance monitoring:
  - Track shader compilation times
  - Log slow shader compilations
  - Monitor async shader compilation statistics

This is a work in progress commit. Further optimizations and refinements
will be needed based on testing and feedback.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-04-12 23:37:11 -03:00
JPikachu bc86307ad6 Service: Add AliasRegionExtraSize
Thanks to Briar for finding and testing the Service
Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
2025-04-12 22:54:32 -03:00
MrPurple666 be4bc3b477 WIP: DO-NOT-MERGE: NCE experiments: Better Pre-Fetch implementation
should make it more performatic as in use with new lru cache implmentation
2025-04-12 22:54:32 -03:00
MrPurple666 739e5c47ea WIP: DO-NOT-MERGE: NCE experiments: Better LRU cache implementation
It uses a better lru implementation, since initial as basic functions to LRU, use a modern system to it to make performance better
2025-04-12 22:54:32 -03:00
MrPurple666 ce1a1912ae RenderVulkan Experiments: DO-NOT-MERGE: Only recreate when necessary and NEAREST 2025-04-12 22:54:32 -03:00
MrPurple666 2a793d610d RenderVulkan Experiments: DO-NOT-MERGE: Introduce functionality to frame interpolation
The functionality acts much more like a real-time downscale since the FSR1 used by Yuzu is not compatible with a real interpolation and is just upscale and downscale.
2025-04-12 22:54:32 -03:00
Pavel Barabanov 38737f26e5 Optimize SpiriV output 2025-04-12 22:54:32 -03:00
Pavel Barabanov bd2f935c4d delete "enable" in setting.h 2025-04-12 22:54:32 -03:00
Pavel Barabanov be2e838f0d FRAME_SKIPPING and FRAME_INTERPOLATION only android and delete "enable" 2025-04-12 22:54:32 -03:00
Pavel Barabanov 70c2439d8c Add sync core speed 2025-04-12 22:54:32 -03:00
Pavel Barabanov d25bea5762 Android: add FRAME_SKIPPING and FRAME_INTERPOLATION 2025-04-12 22:54:32 -03:00
MrPurple666 f9f311c014 Revert "Merge branch 'pr-12'"
This reverts commit dfe104bbb96b52f47943462c296ecbcb046dffdf, reversing
changes made to 45683a4034.
2025-04-12 22:54:32 -03:00
JPikachu 61d4233228 Rename Yuzu logo to Eden 2025-04-13 01:15:36 +01:00
JPikachu e0795f2b40 Service: Add AliasRegionExtraSize
Thanks to Briar for finding and testing the Service
Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
2025-04-12 16:23:47 +01:00
JPikachu a6c9177ad1 Implement additions to nvdr services
Fixes log error: "[  41.472933] Debug <Critical> core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp:operator():81: Assertion Failed! Unimplemented ioctl=C0084713"

Credit: Antique - Sudachi dev, for the base Implementation and Citron for slight additions.
2025-04-11 17:48:09 -03:00
Zephyron 45683a4034 video_core/vulkan: Improve texture format conversion handling
Refactors and improves the texture format conversion system in the Vulkan
renderer:

- Adds proper sRGB to linear conversion for depth formats
- Improves shader accuracy for ABGR8 SRGB to D24S8 conversion
- Adds gamma correction and proper depth range clamping
- Moves GetSupportedFormat implementation to header
- Cleans up format conversion switch statement
- Removes redundant format conversion paths

The changes improve accuracy when converting between color and depth
formats, particularly for sRGB sources. The shader improvements ensure
proper gamma correction and depth range handling.

Technical changes:
- Improves sRGB to linear conversion in fragment shader
- Adds proper depth value clamping
- Consolidates format conversion logic
- Removes duplicate GetSupportedFormat implementation
2025-04-11 17:05:41 -03:00
Zephyron 3e835ac3aa video_core: Add new shader format conversion pipelines
Adds several new shader-based format conversion pipelines to support additional
texture formats and operations:

- RGBA8 to BGRA8 conversion
- YUV420/RGB conversions
- BC7 to RGBA8 decompression
- ASTC HDR to RGBA16F decompression
- RGBA16F to RGBA8 conversion
- Temporal dithering
- Dynamic resolution scaling

Updates the texture cache runtime to handle these new conversion paths and adds
helper functions to check format compatibility for dithering and scaling
operations.

The changes include:
- New shader files and CMake entries
- Additional conversion pipeline setup in BlitImageHelper
- Extended format conversion logic in TextureCacheRuntime
- New format compatibility check helpers
2025-04-11 17:05:30 -03:00
Zephyron 5cb3153f15 video_core: Add sRGB to D24S8 depth-stencil conversion support
Implements conversion from sRGB color formats to D24S8 depth-stencil format
in the Vulkan renderer. This change includes:

- New fragment shader convert_abgr8_srgb_to_d24s8.frag that handles proper
  sRGB to linear conversion before depth calculation
- Added shader to CMake build system
- Extended BlitImageHelper with new conversion pipeline and methods
- Updated texture cache to handle sRGB to D24S8 format conversion paths

The conversion properly handles sRGB color space by first converting to
linear space before calculating luminance values for the depth component,
while preserving alpha channel data for the stencil component.
2025-04-11 17:05:20 -03:00
MrPurple666 3d43fecece WIP: DO-NOT-MERGE: NCE experiments: Initial LRU 2025-04-11 17:05:06 -03:00
MrPurple666 27ceda2c6c WIP: DO-NOT-MERGE: NCE experiments: Fix build errors 2025-04-11 17:04:55 -03:00
MrPurple666 777b674edf WIP: DO-NOT-MERGE: NCE experiments: Some optimizations on pre-fetch and cache 2025-04-11 17:04:45 -03:00
MrPurple666 d36031849e WIP: DO-NOT-MERGE: NCE experiments: Ensure guest context reflects thread state during unlock 2025-04-11 17:04:34 -03:00
MrPurple666 d621707001 WIP: DO-NOT-MERGE: NCE experiments
botw boots but with poor performance
2025-04-11 17:04:24 -03:00
JPikachu 4957950b55 revert 789bbd7ab5
This needs to be put aside for now, but may be implemented again later
2025-04-10 03:45:51 +00:00
crueter 9278eac8f0 Fix controls config dialog
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-10 02:38:34 +02:00
crueter 9cef9f5dce Update fmt to allow for v11
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-10 01:11:22 +02:00
Briar 216ded6997 android: Improve network gateway handling 2025-04-10 00:40:07 +02:00
PabloMK7 5f0542c2bf Pre alpha watermark
* android: Add pre-alpha warning dialog and banner

* qt: android: Add pre-alpha warning banner
2025-04-10 00:18:18 +02:00
Briar 077592903e core: Add support for game settings overrides (#6)
* core: Add support for game settings overrides
---------

Co-authored-by: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com>
Co-authored-by: zhang wei <zwdreams@gmail.com>
2025-04-09 23:44:33 +02:00
Briar 8ef4da686c Refactor Android Game Screen UI
* Port SearchFragment functionality to GameFragment @kleidis

Co-authored-by: Briar <205427297+icybriarr@users.noreply.github.com>

* Remove the bottom navigation bar and SearchFragment remaining code @ishan09811

* Add 2 new game view types `Grid & `List` to GameAdapter @kleidis

* Fix padding on header

* Change app name to uppercase

---------

Co-authored-by: Kleidis <167202775+kleidis@users.noreply.github.com>
Co-authored-by: Briar <205427297+icybriarr@users.noreply.github.com>
Co-authored-by: Ishan09811 <156402647+Ishan09811@users.noreply.github.com>
2025-04-09 00:01:32 +02:00
JPikachu 52eab40fc8 Implement LogicOP Workaround for Vulkan on AMD GPUs
This fixes black sewers in Paper Mario: TTYD
Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
2025-04-08 19:17:28 +02:00
Briar 6f45ab5344 Revert "Disabled MCO_USE_VMEM_ALLOCATOR because standard stack size seems to suffice"
This reverts commit ada5dcf01a.
2025-04-06 22:52:55 -03:00
Mr_Purple_666 90bda9fee5 Use u32 instead of int
fix windows build error
2025-04-04 03:40:50 +02:00
MrPurple666 2d2e9208d2 Unified torzu and sudachi friend.cpp + fix android build on dma_pusher 2025-04-04 03:40:49 +02:00
Pavel Barabanov 409946d1e6 Added the GetKeyCodeMapByPort service, thanks JPikachu for the tip. 2025-04-04 03:40:49 +02:00
Pavel Barabanov c09347ff5f Slightly changed the overlay design 2025-04-04 03:40:49 +02:00
pavelbarabanov 70c151fba0 Обновить src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt
- Add MEM overlay
- Add thermal overlay to show temperature in C/F with color indication
2025-04-04 03:40:49 +02:00
JPikachu 7c4fdaf528 Update freind, nifm and nim stubs
Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
2025-04-04 03:40:49 +02:00
Zephyron 0071e980b8 video_core: Enforce safe memory reads for compute dispatch
- Modify DmaPusher to use safe memory reads when handling compute
  operations at High GPU accuracy
- Prevent potential memory corruption issues that could lead to
  invalid dispatch parameters
- Previously, unsafe reads could result in corrupted launch_description
  data in KeplerCompute::ProcessLaunch, causing invalid vkCmdDispatch
  calls
- By enforcing safe reads specifically for compute operations, we
  maintain performance for other GPU tasks while ensuring compute
  dispatch stability

This change requires >= High GPU accuracy level to take effect.
2025-04-04 03:40:49 +02:00
EmulationEnjoyer d5bb26bf3e Implement HID function stub "SetGestureOutputRanges" (#105)
Add function stub for "SetGestureOutputRanges" in HID service

Fixes userspace panic when booting Donkey Kong Country Returns HD:

> Debug <Critical> core\hle\service\service.cpp:operator ():78: Assertion Failed!
Unknown / unimplemented function '92(<unknown>)': port='hid' cmd_buf={[0]=0x6, [1]=0x8000000C, [2]=0x1, [3]=0x0, [4]=0x4F434653, [5]=0x0, [6]=0x0, [7]=0x0, [8]=0x49434653}
> Service.AM <Info> core\hle\service\am\service\application_functions.cpp:SetTerminateResult:187: (STUBBED) called, result=0x1a80a (2010-0212)
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:Break:52: Userspace PANIC! info1=0x0000001086D02C4C, info2=0x0000000000000004
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:operator ():33: debug_buffer_err_code=1A80A
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:Break:102: Emulated program broke execution! reason=0x0000000000000000, info1=0x0000001086D02C4C, info2=0x0000000000000004

ref: 132077e18f

![](https://i.imgur.com/hbBnlYs.png)

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/105
Co-authored-by: EmulationEnjoyer <emulationenjoyer@noreply.localhost>
Co-committed-by: EmulationEnjoyer <emulationenjoyer@noreply.localhost>
2025-04-04 03:40:49 +02:00
EmulationEnjoyer 2c02c18c86 Update src/audio_core/common/feature_support.h
Updated AudioCore Revision from 11 -> 13
2025-04-04 03:40:49 +02:00
Zephyron 789bbd7ab5 kernel: Implement SystemResourceSize info type for VAMM initialization
Adds support for InfoType::SystemResourceSize (0x1C) which is required for
proper initialization of the Virtual Address Memory Manager (VAMM). This
implementation:

1. Adds SystemResourceSize to the InfoType enum in svc_types.h
2. Implements the GetInfo handler for SystemResourceSize in svc_info.cpp
3. Returns 512MB (0x20000000 bytes) as the system resource size
4. Adds debug logging for the SVC call

The 512MB value is chosen based on typical system resource allocations
needed for VAMM initialization on the Nintendo Switch.

This fixes crashes in games that rely on VAMM functionality, particularly
during nn::os::detail::VammManager::InitializeIfEnabled().
2025-04-04 03:40:49 +02:00
MrPurple666 c6f2a85142 Add the rest of the necessary code for ssl:s
Credit: Antique - (Sudachi) Dev [https://sudachi.emuplace.app/]

Signed-off-by: MrPurple666 <antoniosacramento666@gmail.com>
2025-04-04 03:40:49 +02:00
JPikachu 6581fc5b98 Update ssl stubs
Updated the ssl stubs to implement ssl:s for Firmware 19
This should make Xenoblade X: Definitive Edition bootable
Credit: Antique - (Sudachi) Dev [https://sudachi.emuplace.app/]
2025-04-04 03:40:48 +02:00
JPikachu 6abd4d2f2b Rewrote mm:u to follow switchbrew.org documentation and update them
Credit: Antique - [Sudachi Dev] (https://sudachi.emuplace.app/)
2025-04-04 03:40:48 +02:00
darktux ada5dcf01a Disabled MCO_USE_VMEM_ALLOCATOR because standard stack size seems to suffice 2025-04-04 03:40:48 +02:00
darktux 9f4ef30b55 Add SR_WScaleFactorXY/SR_WScaleFactorZ stubs for Prince of Persia (#5)
Pulled in and cleaned up from Sudachi

Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/darktux/torzu/pulls/5
Co-authored-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
Co-committed-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
2025-04-04 03:40:48 +02:00
darktux a1d4963fb8 Remove accidental use of standard format instead of libfmt format 2025-04-04 03:40:48 +02:00
darktux 2011cdd333 Added v18.0.0 stubs and updated tzdb_to_nx 2025-04-04 03:40:48 +02:00
darktux 492d3856e8 Vulkan validation error fix.
Different image usage flags between image creation and image view
creation.
2025-04-04 03:40:48 +02:00
darktux 5af02a5cea Save memory by using dyamic stack size in Fiber 2025-04-04 03:40:48 +02:00
darktux d8c2ab85eb Implemented a more correct version of ISfServiceMonitor::GetGroupInfo 2025-04-04 03:40:48 +02:00
darktux bc2fdfee13 Fixed minicoro.h formatting 2025-04-04 03:40:47 +02:00
darktux edff3d4adb Radeon gpu profiler detection support 2025-04-04 03:40:47 +02:00
darktux 4a71984803 clang-formated new fiber.cpp and minicoro.h 2025-04-04 03:40:47 +02:00
darktux 16f92e5b32 Implemented rewindless Fiber without Boost (using minicoro) 2025-04-04 03:40:47 +02:00
darktux 60643dd1b2 Solves warning about GuestMemory having internal linkage.
It is very hard to explain why this public interface class was defined
in an anonymous namespace inside a header file.
2025-04-04 03:40:47 +02:00
darktux 1c7bae50cc Fixed formatting in new stubs ported from Suyu 2025-04-04 03:40:47 +02:00
darktux cacef3d8e7 Ported some stubs from Suyu (2ba2db7795) 2025-04-04 03:40:47 +02:00
darktux 2032d035a3 Removed telemetry and anonymized SCM (git) strings 2025-04-04 03:40:47 +02:00
darktux 5056d87da3 Actually return 0 in IFriendService::GetReceivedFriendRequestCount 2025-04-04 03:40:47 +02:00
darktux 675d53ab71 Fixed minor issues from previous PR related to buffers and a typo in npns 2025-04-04 03:40:47 +02:00
darktux d82ee773da Implemented IFriendService::GetUserPresenceView stub to get QLaunch friends list running 2025-04-04 03:40:46 +02:00
darktux df67582446 Always report command ID in log and implement LoadUserSetting stub 2025-04-04 03:40:46 +02:00
darktux 6ff1dc8bdb Disable "Open Home Menu" action as appropriate 2025-04-04 03:40:46 +02:00
darktux 616619c8f7 Port changes from Early Access 2025-04-04 03:40:46 +02:00
darktux 19a93a3fd1 Android: Add ability to run Qlaunch 2025-04-04 03:40:46 +02:00
darktux 76a55dc003 Implement option to start QLaunch from Tools menu 2025-04-04 03:40:45 +02:00
Briar c4fb749028 android: Add static color theme option
* android: Add static color theme option ported from Azahar 

* android: Remove leftover xml from early access fragment

* android: Properly theme material dialogs to theme color

* android: Fixup colors through the app

and make game image corners more round

* android: Set default theme to violet to match eden branding

* Update license headers

---------

Co-authored-by: Kleidis <167202775+kleidis@users.noreply.github.com>
2025-04-04 03:35:28 +02:00
Briar b1dc4fa121 android: Update AndroidX dependencies to latest versions 2025-04-04 03:23:32 +02:00
Briar 4bb6e633e0 externals: Downgrade dynarmic to `ae99622` and xbyak to `0d67fd15`; modify ABI parameter handling in macro_jit_x64.cpp 2025-04-04 03:23:32 +02:00
Briar dd32efa3d8 android: Switch to custom Oboe submodule 2025-04-04 03:23:32 +02:00
Briar bd844d2830 Fix windows boost compilation errors 2025-04-04 03:23:32 +02:00
Briar c98be3d793 Update fastmem pointer handling to use std::optional 2025-04-04 03:23:32 +02:00
Briar 6c3381a608 qt: 6.7.3 Implementation
Co-authored-by: Kleidis <167202775+kleidis@users.noreply.github.com>
2025-04-04 03:23:31 +02:00
briar 24fb37525c android: Remove leftover EA strings 2025-04-04 03:23:31 +02:00
Briar 5bf118114d android: Remove early access fragment and home setting item 2025-04-04 03:23:31 +02:00
Briar bef5846725 android: Update icons to use eden's 2025-04-04 03:23:31 +02:00
Briar 55d6b40fe3 android: Change appID 2025-04-04 03:23:31 +02:00
Briar 8364ab1b00 android: Rename default device name to eden 2025-04-04 03:23:31 +02:00
Briar 384535e636 android: Change app name to eden 2025-04-04 03:23:31 +02:00
Briar 8c28ebe212 android: Updated some user-facing strings to refer to eden 2025-04-04 03:23:31 +02:00
Briar b1ec0e9dec Switch default username to eden 2025-04-01 18:38:41 +02:00
Briar efb94f76d0 qt: Updated some user-facing strings to refer to eden 2025-04-01 18:37:54 +02:00
Briar 0c4d8a8b08 Rename log file to `eden_log` 2025-04-01 18:36:48 +02:00
Briar 0d8a40e3da Changed executable names to eden 2025-04-01 18:35:37 +02:00
voidanix d60cf76e2d Fix GCC builds with Debug build type 2025-04-01 18:31:44 +02:00
briar 2b2ddb581d android: Update various deps 2025-04-01 18:30:57 +02:00
yuzubot c280f95b1a "Merge Tagged PR 13018" 2024-03-03 13:02:50 +00:00
yuzubot f2aa821f94 "Merge Tagged PR 13178" 2024-03-03 13:02:49 +00:00
Pengfei Zhu 3e795c7d8c Revert arbaic translation 2024-03-01 15:20:53 +08:00
Pengfei Zhu f83547b26b Remove trailing whitespaces 2024-03-01 14:19:02 +08:00
The yuzu Community d97964f282 Update translations (2024-03-01) 2024-03-01 03:12:19 +00:00
liamwhite 3f719aed35 Merge pull request #13135 from german77/hid-interface
service: hid: Migrate HidServer to new IPC
2024-02-27 12:26:26 -05:00
liamwhite d7b17e2886 Merge pull request #13175 from liamwhite/asan
general: fix asan errors
2024-02-27 09:42:59 -05:00
liamwhite 3a31129447 Merge pull request #13171 from liamwhite/fake-address
texture_cache: do not track invalid addresses
2024-02-27 09:42:46 -05:00
liamwhite 5f2369bba6 general: workarounds for SMMU syncing issues (#12749) 2024-02-27 15:42:15 +01:00
liamwhite a918ce6fe9 vk_rasterizer: flip scissor y on lower left origin mode (#13122) 2024-02-27 15:40:33 +01:00
liamwhite c98e01cee8 buffer_cache: avoid overflow in usage tracker (#13166) 2024-02-27 15:39:11 +01:00
liamwhite df3712ad06 texture_cache: use two-pass collection for costly load resources (#13096) 2024-02-27 15:38:14 +01:00
Liam 7af4637f3d general: fix asan errors 2024-02-26 19:28:49 -05:00
Narr the Reg 325e577eec Merge pull request #13172 from liamwhite/gl-streams
renderer_opengl: declare geometry stream support in profile
2024-02-26 11:51:25 -06:00
liamwhite 67120d9623 Merge pull request #13159 from liamwhite/web-error
core: enable error applet, add stubs for web applet
2024-02-26 12:44:55 -05:00
Liam 71a6d3596a renderer_opengl: declare geometry stream support in profile 2024-02-26 11:18:30 -05:00
Liam 9db29b4e20 settings: remove global override for smash on amdvlk 2024-02-26 11:16:18 -05:00
Liam e15b1021a4 video_core: make gpu context aware of rendering program 2024-02-26 11:16:14 -05:00
Liam afb3516d43 texture_cache: do not track invalid addresses 2024-02-26 10:26:27 -05:00
liamwhite 0b15d99bb2 Merge pull request #13163 from german77/ring
core: hid: hid_core doesn't have access to LIBUSB
2024-02-25 14:01:05 -05:00
liamwhite 02b3a50564 Merge pull request #13154 from german77/vibration-filter
core: hid: Reintroduce vibration filter
2024-02-25 14:00:59 -05:00
german77 68b0f72f27 core: hid: hid_core doesn't have access to LIBUSB 2024-02-25 10:06:43 -06:00
Liam e850ec7aa9 settings: enable error applet 2024-02-24 22:56:08 -05:00
Liam 1958a2df6b ldn: return no connection from GetStateForMonitor 2024-02-24 22:56:08 -05:00
Liam cacfe8ec90 ssl: add cert store 2024-02-24 22:56:05 -05:00
Liam 1c7c59ad91 glue: load initial year setting as s32 2024-02-24 22:49:38 -05:00
Liam 2945ef5999 acc: add account manager for acc:u1 2024-02-24 22:25:34 -05:00
Liam 4cc17106f6 fs: add stubs for online web applet 2024-02-24 22:25:34 -05:00
Liam dd24fbb33c erpt: stub report creation 2024-02-24 22:25:34 -05:00
Liam 7f0b506cf1 set: add GetPlatformRegion 2024-02-24 22:25:34 -05:00
german77 4e20a37a2b service: set: Fix GetSettingsItemValue 2024-02-24 14:44:21 -06:00
german77 bdd95714d5 core: hid: Reintroduce vibration filter 2024-02-24 12:19:51 -06:00
liamwhite d953c2d880 Merge pull request #13153 from german77/defaultset
service: set: Enable nfc and others by default and bump version
2024-02-24 12:48:31 -05:00
liamwhite 843674567c Merge pull request #13081 from FearlessTobi/aoc-ipc
aoc: Migrate to use cmif serialization
2024-02-24 12:48:26 -05:00
german77 0f1de8fee0 service: set: Enable nfc and others by default and bump version 2024-02-24 11:19:51 -06:00
Liam 04e16dcb2f set: fix region code for system settings 2024-02-24 00:48:44 -05:00
liamwhite 8727ea220b Merge pull request #13142 from t895/vibration-queue
android: Play vibrations asynchronously
2024-02-24 00:38:13 -05:00
liamwhite 5e07baddbc Merge pull request #13146 from wheremyfoodat/patch-1
common/ring_buffer: Include <limits> header
2024-02-23 20:32:40 -05:00
Narr the Reg 8bc1934126 service: audio: Add missing logging properties of SetHeadphoneOutputLevelMode 2024-02-23 18:58:51 -06:00
Narr the Reg 08703d2350 service: btdrv: Add EnableRadio for Qlaunch 2024-02-23 18:58:51 -06:00
Narr the Reg a23f148581 service: friend: Add GetFriendCount, GetNewlyFriendCount, GetReceivedFriendRequestCount, GetPlayHistoryStatistics, GetReceivedFriendInvitationCountCache for QLaunch 2024-02-23 18:58:51 -06:00
Narr the Reg d77cb74cb2 service: hid: Add IsAnyCustomButtonConfigEnabled for QLaunch 2024-02-23 18:58:51 -06:00
Narr the Reg b1994c06df service: lbl: Add SaveCurrentSetting, LoadCurrentSetting and IsAutoBrightnessControlSupported for QLaunch 2024-02-23 18:58:50 -06:00
Narr the Reg ba58902d76 service: nfc: Implement SetNfcEnabled 2024-02-23 18:58:50 -06:00
Narr the Reg 2ab5090b02 service: npns: Add ListenTo and GetReceiveEvent for QLaunch 2024-02-23 18:58:39 -06:00
Narr the Reg ed811a58e9 service: set: Add default eula setting 2024-02-23 18:58:19 -06:00
wheremyfoodat 8a5329b19a common/ring_buffer: Include <limits> header 2024-02-24 02:34:09 +02:00
Narr the Reg 9d2a7fba97 service: hid: Migrate HidServer to new IPC 2024-02-23 17:49:02 -06:00
Narr the Reg c10b688712 service: hid: Move and migrate AppletResource and ActiveVibrationDevice 2024-02-23 17:49:02 -06:00
t895 ebcf0a3415 android: Play vibrations asynchronously 2024-02-23 16:41:59 -05:00
liamwhite 26ab5e9c88 Merge pull request #13141 from liamwhite/swap
fs: fix argument order
2024-02-23 15:23:06 -05:00
Liam 996211f28f fs: fix argument order 2024-02-23 15:10:35 -05:00
Liam b47cfa8e48 fs: add ISaveDataTransferProhibiter, stub FindSaveDataWithFilter 2024-02-23 12:17:24 -05:00
liamwhite bedb70d105 Merge pull request #13133 from liamwhite/libstdcxx-issue
vi: workaround conductor includes
2024-02-23 11:34:34 -05:00
liamwhite 0ca185f68d Merge pull request #13115 from liamwhite/olsc-pctl
olsc, pctl: move to new ipc
2024-02-23 11:34:29 -05:00
liamwhite 56834236dc Merge pull request #13100 from liamwhite/audio-ipc
audio: move to new ipc
2024-02-23 11:34:21 -05:00
liamwhite 0e16d64fbc Merge pull request #13073 from FearlessTobi/fsp-srv-ipc
fsp: Migrate remaining interfaces to cmif serialization
2024-02-23 11:34:06 -05:00
Liam 10966412ac vi: workaround conductor includes 2024-02-23 10:34:49 -05:00
Liam ecf0037c31 oboe_sink: handle temporary stream creation failure 2024-02-23 10:30:52 -05:00
liamwhite 6ce6149347 Merge pull request #13121 from german77/clean-shortcut
yuzu: Fix shortcut error message
2024-02-22 23:04:28 -05:00
liamwhite cee82ecadb Merge pull request #13117 from liamwhite/ovln
psc: stub overlay notification channel
2024-02-22 20:26:03 -05:00
Liam c847c2e75a audio: fix released buffer bounds check 2024-02-22 20:20:31 -05:00
FearlessTobi 830d5766ae aoc: Rename AOC_U to IAddOnContentManager 2024-02-23 01:19:18 +01:00
Narr the Reg 71937393a6 yuzu: Fix shortcut error message 2024-02-22 17:52:30 -06:00
liamwhite 4df301d9af Merge pull request #12982 from FearlessTobi/fs-rewrite-part0
fs: Add FileSystemAccessor and use cmif serialization
2024-02-22 12:34:47 -05:00
Narr the Reg 565921a463 Merge pull request #13000 from liamwhite/skip-null-memory
device_memory_manager: skip unregistered interfaces on invalidate
2024-02-22 11:34:23 -06:00
Narr the Reg 615cc06ca4 Merge pull request #13001 from liamwhite/scaled-availability
vulkan_device: don't use fixed cap for memory limits
2024-02-22 11:31:17 -06:00
Narr the Reg 091abdc5cb Merge pull request #13075 from liamwhite/mali-having-a-bad-time
shader_recompiler: throw on missing geometry streams in geometry shaders
2024-02-22 11:30:26 -06:00
Liam a086cf4136 audio: add NotifyHeadphoneVolumeWarningDisplayedEvent 2024-02-21 23:54:10 -05:00
Liam 28827c325e pctl: rewrite IParentalControlService 2024-02-21 23:42:33 -05:00
Liam af6a347b18 pctl: rewrite IParentalControlServiceFactory 2024-02-21 23:00:01 -05:00
Liam 2a4e185c0e pctl: move IParentalControlServiceFactory 2024-02-21 23:00:01 -05:00
Liam 9e4b8cee15 pctl: move IParentalControlService 2024-02-21 23:00:01 -05:00
Liam d623433963 pctl: move types and results 2024-02-21 22:58:20 -05:00
Liam c84e79e742 psc: stub overlay notification channel 2024-02-21 22:54:05 -05:00
Liam da72188456 psc: rewrite IPmService 2024-02-21 22:26:32 -05:00
Liam dc62ca20ee psc: move IPmControl, IPmModule, IPmService 2024-02-21 22:26:12 -05:00
Liam 41d6ea28bf olsc: rewrite IOlscServiceForSystemService 2024-02-21 20:02:00 -05:00
Liam 0975b47dc4 olsc: add IRemoteStorageController 2024-02-21 19:47:54 -05:00
Liam c7414c03b7 olsc: add IDaemonController 2024-02-21 19:05:19 -05:00
Liam 6ac3fcb51e olsc: rewrite ITransferTaskListController 2024-02-21 18:36:17 -05:00
Liam b9e7d1d09e olsc: rewrite INativeHandleHolder 2024-02-21 18:19:48 -05:00
Liam 852ff835b5 olsc: rewrite IOlscServiceForApplication 2024-02-21 18:19:12 -05:00
Liam 450171275d olsc: move INativeHandleHolder, IOlscServiceForApplication, IOlscServiceForSystemService, ITransferTaskListController 2024-02-21 16:13:01 -05:00
liamwhite 56ea569c6d Merge pull request #13105 from t895/connection-fix
android: Misc controller fixes
2024-02-21 10:43:46 -05:00
liamwhite a98669d39d fs: add missing mutex header for member (#13106) 2024-02-21 16:43:05 +01:00
t895 4c2ddb2cb2 android: Connect controllers with supported styles
If you tried to connect a controller that was previously configured with an unsupported style for your game, when you try to connect that controller, it will immediately disconnect. This ensures that the controller that is being connected will be changed to the first supported style index before being connected.
2024-02-21 08:37:55 -05:00
t895 f46654b3b0 android: Add additional check for hasMapping
Controls can have no mapping if they are either "[empty]" or and empty string. This was causing an issue if you reset mapping on all controllers and then tried to play a game. The check to determine whether auto mapping was required would fail and leave you will no mapped controllers. This feels a bit like user error but it smooths things out if you forget so I see it as necessary.
2024-02-21 08:17:30 -05:00
t895 3637b5e4fb android: Enable all controller styles on emulation shutdown 2024-02-21 08:13:54 -05:00
Liam 58d8db6ac7 audio: format 2024-02-20 22:51:39 -05:00
Liam db225a3838 audio: rewrite IHardwareOpusDecoder 2024-02-20 22:15:38 -05:00
Liam a898ae4f7d audio: rewrite IAudioDevice 2024-02-20 22:15:38 -05:00
Liam f5c288e8ae audio: rewrite IHardwareOpusDecoderManager 2024-02-20 22:15:38 -05:00
Liam 722a7571a5 audio: rewrite IAudioRenderer 2024-02-20 22:15:38 -05:00
Liam 99b848b523 audio: rewrite IAudioRendererManager 2024-02-20 22:15:37 -05:00
Liam 103d1ad376 audio: split IHardwarweOpusDecoder, move IHardwareOpusDecoderManager 2024-02-20 22:15:37 -05:00
Liam f3a957d570 audio: split IAudioDevice, IAudioRenderer, move IAudioRendererManager 2024-02-20 22:15:37 -05:00
Liam c453442f87 audio: move IFinalOutputRecorderManager{,ForApplet} 2024-02-20 22:15:37 -05:00
Liam 147afedf27 audio: rewrite IAudioOutManager 2024-02-20 22:15:37 -05:00
Liam b11e15833e audio: rewrite IAudioOut 2024-02-20 22:15:37 -05:00
Liam 001db3afdd audio: rewrite IAudioInManager 2024-02-20 22:15:37 -05:00
Liam 1d37442af9 audio: rewrite IAudioIn 2024-02-20 22:15:37 -05:00
t895 9c51cb5361 android: Fix extra stick setting default values
The default value was accidentally hardcoded for all extra stick settings
2024-02-20 22:13:59 -05:00
liamwhite 3b13df9a82 Merge pull request #13095 from liamwhite/ns-oops
ns: fix alignment of uid type
2024-02-20 21:19:35 -05:00
Matías Locatti 40497ab00f Merge pull request #10529 from liamwhite/critical-spacing
caches: make critical reclamation less eager and possible in more cases
2024-02-20 23:19:27 -03:00
Liam 6c06717658 ns: fix alignment of uid type 2024-02-20 18:43:44 -05:00
liamwhite c980f572f4 Merge pull request #13091 from t895/device-renaming
android: Expose device name setting
2024-02-20 18:30:54 -05:00
t895 aa5605101a android: Expose device name setting 2024-02-20 08:16:38 -05:00
t895 7d2f11fac6 android: Add StringInputSetting settings item 2024-02-20 08:06:56 -05:00
Liam 0e032e03e6 vi: ignore shared buffer destruction failure on termination 2024-02-20 00:02:56 -05:00
Liam 3b78f33757 vi: remove superfluous locking in shared buffer manager 2024-02-19 23:59:35 -05:00
Liam 6fabb06764 nvnflinger/vi: don't recreate buffer queue on open/close 2024-02-19 23:59:35 -05:00
Andrew Pilley 9ef7dbbb2b Import keys from filesystem. (#13056)
* Import keys, re-initialize KeyManager, re-scan vfs, re-populate game list.

* <.< spelling.

* Update based on feedback on #13047 and this PR

* Based on feedback: Don't delete existing files. There's legitimate reasons that someone may want to keep their retail keys and title key handling is resilient to mismatches.

* Update src/yuzu/main.cpp

Co-authored-by: Tobias <thm.frey@gmail.com>

* Remove translation of literal filename/filter format.

* clang-format.

---------

Co-authored-by: Tobias <thm.frey@gmail.com>
2024-02-19 19:18:13 -05:00
liamwhite 6e55dc775d Merge pull request #13086 from t895/clear-button-fix
android: Fix broken clear button check
2024-02-19 19:18:05 -05:00
Charles Lombardo 30cfd14873 android: Have input overlay follow player 1 style index (#13085) 2024-02-19 22:47:21 +01:00
t895 fbec2ba35d android: Fix broken clear button check 2024-02-19 15:54:52 -05:00
liamwhite efa774c2e5 Merge pull request #13031 from german77/btm-interfcae
service: btm: Migrate service to new IPC
2024-02-19 14:49:42 -05:00
Charles Lombardo 0b351f0635 android: Fix overlay visibility reset (#13083) 2024-02-19 19:44:42 +01:00
Charles Lombardo f7ec8a8b77 android: Show done button when configuring input overlay (#13082) 2024-02-19 19:26:18 +01:00
FearlessTobi 459761fc2a Address review comments pt. 2 2024-02-19 19:22:51 +01:00
FearlessTobi 350efe5caf Address review comments 2024-02-19 19:20:46 +01:00
FearlessTobi f37b5ac9cc fs: Refactor to use cmif serialization 2024-02-19 19:20:46 +01:00
FearlessTobi 52f6c6b46c fs: Add FileSystemAccessor classes 2024-02-19 19:20:40 +01:00
FearlessTobi dcc9189dcb Address review comments 2024-02-19 19:11:07 +01:00
FearlessTobi 27dede35d2 fs: Add and use fs_save_data_types.h 2024-02-19 19:06:31 +01:00
FearlessTobi f01a14c5fd fsp: Migrate remaining interfaces to cmif serialization 2024-02-19 19:06:31 +01:00
FearlessTobi 8da9fbdb66 fsp-srv: Migrate to use cmif serialization 2024-02-19 19:06:31 +01:00
FearlessTobi 06d2c70a05 fsp: Move IMultiCommitManager to a seperate file 2024-02-19 19:06:31 +01:00
FearlessTobi 10f80939ee fsp: Move ISaveDataInfoReader to a seperate file 2024-02-19 19:06:31 +01:00
FearlessTobi e916791809 aoc: Migrate to use cmif serialization 2024-02-19 17:20:02 +01:00
FearlessTobi 1427917a8a core/aoc: Move IPurchaseEventManager to separate file 2024-02-19 16:36:24 +01:00
FearlessTobi 4d55e58ee4 scope_exit: Make constexpr
Allows the use of the macro in constexpr-contexts.
Also avoids some potential problems when nesting braces inside it.
2024-02-19 16:00:46 +01:00
FearlessTobi 79a983cc95 core/CMakeLists: Sort alphabetically 2024-02-19 15:51:02 +01:00
Narr the Reg 984329e0e6 Merge pull request #13006 from liamwhite/a-hat-in-vram
buffer_cache: use mapped range with large vertex buffer size
2024-02-18 23:37:49 -06:00
Narr the Reg 93bcf8e879 Merge pull request #13026 from liamwhite/scale-this-mf
shader_recompiler: fix non-const offset for arrayed image types
2024-02-18 23:37:25 -06:00
Narr the Reg 07d6778128 Merge pull request #13035 from liamwhite/vi2
vi: manage resources independently of nvnflinger and refactor
2024-02-18 23:36:53 -06:00
Narr the Reg a44256e149 Merge pull request #13048 from liamwhite/new-shell
ns: rewrite for new IPC
2024-02-18 23:36:29 -06:00
Liam 749f0564ae shader_recompiler: throw on missing geometry streams in geometry shaders 2024-02-19 00:34:00 -05:00
liamwhite 20f06586e9 Merge pull request #13070 from liamwhite/offset
am: account for offset in transfer memory storage
2024-02-18 19:03:56 -05:00
liamwhite 8001355894 Merge pull request #13030 from german77/audio-controller
service: audio: Rewrite IAudioController to new IPC
2024-02-18 19:03:49 -05:00
Liam a20eb0f265 ns: address review comments 2024-02-18 19:02:00 -05:00
Liam a956f0f4f8 vulkan_device: don't use fixed cap for memory limits 2024-02-18 18:59:13 -05:00
Liam 4df0f0c70c am: account for offset in transfer memory storage 2024-02-18 14:56:48 -05:00
german77 16b5a24d6f core: hid: Remove driver errors from log 2024-02-18 10:54:56 -06:00
Liam d082a80d79 nvnflinger: check for layers before compose 2024-02-18 11:25:52 -05:00
liamwhite f204de2c55 Merge pull request #13067 from t895/xbox-automap-invert
android: Flip AB/XY for xbox controllers during auto-mapping
2024-02-18 10:48:54 -05:00
t895 e69efb0f73 android: Flip AB/XY for xbox controllers during auto-mapping 2024-02-18 10:40:33 -05:00
liamwhite b67cdf9285 Merge pull request #13032 from german77/qlauncher
service: Implement functions needed by Qlaunch
2024-02-18 10:37:52 -05:00
Liam 9716503c0a ns: rewrite IQueryService 2024-02-18 10:35:39 -05:00
Liam 81a1a3f7f1 ns: rewrite IServiceGetterInterface 2024-02-18 10:35:39 -05:00
Liam ddeb9191f4 ns: rewrite IApplicationManagerInterface 2024-02-18 10:35:39 -05:00
Liam 0fe10d0b09 ns: move IDevelopInterface 2024-02-18 10:35:37 -05:00
Liam 1a9bd38a20 ns: rewrite ISystemUpdateInterface 2024-02-18 10:32:21 -05:00
Liam bea44994ee ns: move ISystemUpdateControl 2024-02-18 10:32:21 -05:00
Liam fbeb9ba203 ns: rewrite IVulnerabilityManagerInterface 2024-02-18 10:32:21 -05:00
Liam 2c11c1e0b1 ns: rewrite IReadOnlyApplicationControlDataInterface 2024-02-18 10:32:21 -05:00
Liam 8da1202195 ns: rewrite IReadOnlyApplicationRecordInterface 2024-02-18 10:32:21 -05:00
Liam 8f42fc46df ns: add IDynamicRightsInterface 2024-02-18 10:32:21 -05:00
Liam 780bd3276f ns: rewrite IDownloadTaskInterface 2024-02-18 10:32:21 -05:00
Liam 5d58d25c06 ns: rewrite IDocumentInterface 2024-02-18 10:32:21 -05:00
Liam d932c9b608 ns: rewrite IContentManagementInterface 2024-02-18 10:32:21 -05:00
Liam 1452c2a605 ns: move IFactoryResetInterface 2024-02-18 10:32:21 -05:00
Liam 40771d1ece ns: move IECommerceInterface 2024-02-18 10:32:21 -05:00
Liam bd69199bdd ns: move IApplicationVersionInterface 2024-02-18 10:32:21 -05:00
Liam cef212f9e8 ns: move IAccountProxyInterface 2024-02-18 10:32:21 -05:00
Liam cd6122b389 ns: rewrite IPlatformServiceManager 2024-02-18 10:32:21 -05:00
Liam 08a7ca1e20 ns: rename results header 2024-02-18 10:32:21 -05:00
liamwhite f01f9cdae2 Merge pull request #13064 from t895/auto-map-fail
android: Only do first startup automapping if nothing has been mapped
2024-02-18 10:27:49 -05:00
liamwhite 6b82a970cc Merge pull request #13049 from Leystryku/master
Fix Just Dance 2023 not booting
2024-02-18 10:25:18 -05:00
liamwhite 6d7339a332 Merge pull request #13065 from t895/cancel-button-fail
android: Show cancel button for the content install notice
2024-02-18 10:25:04 -05:00
t895 d62cea4622 android: Map touches to touchscreen
I neglected to map touches to the touchscreen when refactoring in the input mapping PR. This fixes that regression.
2024-02-18 10:00:37 -05:00
t895 45b159e21b android: Show cancel button for the content install notice 2024-02-18 09:23:46 -05:00
t895 7dc4962c83 android: Only do first startup automapping if nothing has been mapped 2024-02-18 09:18:54 -05:00
Leystryku eceaab34df service: Change unique_ptr to make_unique in GetCacheStorageMax 2024-02-18 07:03:50 +01:00
Leystryku 5b681caede file_sys: Formatting changes and use unique_ptr in GetCacheStorageMax 2024-02-18 06:17:35 +01:00
Leystryku d1ce748e01 file_sys: Fix nacp field cache_storage_max_index datatype 2024-02-18 06:00:42 +01:00
liamwhite c665076c11 Merge pull request #13047 from anpilley/import-firmware
Import firmware from folder of loose NCA files
2024-02-17 23:18:00 -05:00
t895 4b0ab0fc00 android: Create lifecycle utility to simplify common StateFlow operations 2024-02-17 23:09:09 -05:00
Leystryku 219af86660 service: Add proper GetCacheStorageMax implementation to IApplicationFunctions 2024-02-18 05:02:35 +01:00
t895 370f2eb7dd android: Use extension functions for view visibility and text marquee 2024-02-17 22:45:33 -05:00
liamwhite 73fd4133d1 Merge pull request #13052 from t895/serializable-stuff
android: Move CoreErrorDialogFragment to its own file
2024-02-17 22:22:46 -05:00
liamwhite 88fba66348 Merge pull request #13051 from german77/cheatmiss
dmnt: cheats: Fix valid address range
2024-02-17 22:22:14 -05:00
liamwhite 3cf4da7467 Merge pull request #13034 from t895/map-all-the-inputs
android: Input mapping
2024-02-17 22:22:06 -05:00
t895 ee98ee491a android: Move CoreErrorDialogFragment to its own file 2024-02-17 21:58:25 -05:00
Andrew Pilley 3551bd0134 Add check for corrupted firmware files after install. 2024-02-18 12:31:14 +11:00
german77 75a5c016f1 dmnt: cheats: Fix valid address range 2024-02-17 19:10:17 -06:00
Leystryku 884f6fabab fsp: Add FlushAccessLogOnSdCard stub 2024-02-18 00:52:22 +01:00
Leystryku 6635334f27 service: Add GetCacheStorageMax stub to IApplicationFunctions 2024-02-18 00:49:41 +01:00
german77 07143cd038 service: vi: Implement ListDisplayMode 2024-02-17 18:08:41 -05:00
Liam f5d736af4b vi: manage resources independently of nvnflinger and refactor 2024-02-17 18:08:38 -05:00
Liam e34074861c vi: move shared buffer management from nvnflinger 2024-02-17 18:01:41 -05:00
Liam b1f1beae41 nvnflinger: convert to process 2024-02-17 18:01:41 -05:00
Liam f5abfc70bf am: unify display layer management 2024-02-17 18:00:28 -05:00
Narr the Reg 315a7fc1f9 Merge pull request #13017 from liamwhite/suspension
kernel: add and enable system suspend type
2024-02-17 17:00:07 -06:00
Narr the Reg a046ccda14 service: audio: Rewrite IAudioController to new IPC 2024-02-17 15:05:13 -06:00
Andrew Pilley 38baa215de >.> spelling 2024-02-18 07:58:41 +11:00
Andrew Pilley 17c8400218 cleanup by clang-format. 2024-02-18 07:41:24 +11:00
Andrew Pilley c78e2654db Improve behavior when one or more firmware files can't be deleted. 2024-02-18 07:38:47 +11:00
Narr the Reg d46b555cb9 service: btm: Implement function needed by QLaunch 2024-02-17 12:39:36 -06:00
t895 a29782ce6a android: Input mapping 2024-02-17 12:32:33 -05:00
Kelebek1 8da2a1edba Close reference to TimeZoneBinary on game close 2024-02-17 16:00:14 +00:00
Andrew Pilley 93a760ff71 Merge branch 'yuzu-emu:master' into import-firmware 2024-02-17 23:36:43 +11:00
Andrew Pilley 297bf111c2 Implement In-app firmware installation. 2024-02-17 23:33:55 +11:00
t895 95ea8e9553 hid_core: Prevent crash if we try to iterate through empty color devices list 2024-02-16 21:11:47 -05:00
t895 31b531fb2b hid_core: Use dedicated "port" for android's input overlay 2024-02-16 21:09:42 -05:00
t895 f21569a4eb config: Reset per-game profile name on load if empty 2024-02-16 21:07:03 -05:00
t895 4e34af1a26 android: Allow SettingsItems to use String or StringRes 2024-02-16 21:04:26 -05:00
Narr the Reg e8bdc40b46 service: erpt: Implement SubmitContext 2024-02-16 12:22:09 -06:00
Narr the Reg a685ba9caf service: caps: Implement GetAlbumFIleList 2024-02-16 12:15:37 -06:00
Narr the Reg 50104dd9a0 service: btm: Migrate service to new IPC 2024-02-16 12:15:06 -06:00
Narr the Reg ae802f2245 service: am: Fix GetMainAppletAvailableUsers for user creation 2024-02-16 12:13:10 -06:00
Narr the Reg 4c967f6a91 service: am: Add QLaunch launcher 2024-02-16 12:13:10 -06:00
liamwhite d606bea43e Merge pull request #13016 from german77/set-interface2
service: set: Migrate ISystemSettingsServer to new IPC
2024-02-16 13:11:36 -05:00
Liam 8c5083b014 shader_recompiler: fix non-const offset for arrayed image types 2024-02-15 18:49:23 -05:00
Liam 0466d1dedb Revert "shader_recompiler: use only ConstOffset for OpImageFetch"
This reverts commit d69e462d13.
2024-02-15 18:38:56 -05:00
Liam e9dc3bd26b kernel: add and enable system suspend type 2024-02-14 17:03:50 -05:00
Narr the Reg 43715edd7e service: set: Migrate ISystemSettingsServer to new IPC 2024-02-14 12:40:10 -06:00
Liam 0f18bf4a06 vi: rewrite IApplicationDisplayService 2024-02-14 12:03:32 -05:00
Liam 04b3fdca99 vi: rewrite ISystemDisplayService 2024-02-14 12:03:32 -05:00
Liam f675c54cbe vi: rewrite IManagerDisplayService 2024-02-14 12:03:32 -05:00
Liam 33daf4463b vi: rewrite IHOSBinderDriver 2024-02-14 12:03:32 -05:00
Liam 5ad57cb878 vi: rewrite IApplicationRootService, IManagerRootService, ISystemRootService 2024-02-14 12:03:32 -05:00
Liam 8de4523094 vi: split into implementation files 2024-02-14 12:03:32 -05:00
Liam a989a7ad9c vi: extract types 2024-02-14 12:03:31 -05:00
liamwhite d66715a9a4 Merge pull request #12996 from german77/settings-ipc
service: set: Migrate ISettingsServer to new interface
2024-02-14 12:02:46 -05:00
Narr the Reg 21e754cffb Merge pull request #12993 from liamwhite/am-rewrite-part1
am: rewrite part 1
2024-02-14 11:02:38 -06:00
german77 098788d96a service: set: Migrate ISettingsServer to new interface 2024-02-13 17:21:52 -06:00
liamwhite 887db829ba Merge pull request #13009 from t895/message-dialog-fix
android: Message dialog tweaks
2024-02-13 14:46:56 -05:00
t895 a3f5a8151f android: Prevent user from dismissing mod/cheat notice
Makes sure that a user can't miss this dialog by touching outside the window. They must press "OK" or "Close" to continue.
2024-02-13 13:46:14 -05:00
t895 d2fd59733b android: Show cancel option for delete addons dialog 2024-02-13 13:45:17 -05:00
t895 cb0d5896c5 android: Swap ok and close default strings for MessageDialogFragment 2024-02-13 13:44:35 -05:00
t895 4507d2f9c3 android: Add screen vertical alignment setting
It's a bit of a hack since I'm moving the view instead of telling the Vulkan surface to bias itself to the top/bottom/center but it works fine for now.
2024-02-13 10:10:59 -05:00
t895 1b48ee6e45 android: Expose FSR sharpness slider 2024-02-13 10:04:59 -05:00
Liam 02430ed002 buffer_cache: use mapped range with large vertex buffer size 2024-02-13 08:27:33 -05:00
liamwhite 12d2346cc9 Merge pull request #12974 from german77/ldn-interface
service: ldn: Migrate and refractor service to new IPC
2024-02-13 08:18:31 -05:00
liamwhite c741b765dd Merge pull request #12975 from FernandoS27/keep-your-own-vodoo-doll-away-from-gf
Texture Cache: Fix untracking on GPU remap
2024-02-13 08:17:59 -05:00
liamwhite 1715a70dbe Merge pull request #12989 from german77/hotcake
yuzu: Allow non npad hotkeys and disable controller navigation requirement
2024-02-13 08:17:50 -05:00
liamwhite 48b4e77b3e Merge pull request #12998 from t895/swap-clear-actions
android: Swap confirmation buttons for delete save data dialog
2024-02-13 08:17:39 -05:00
liamwhite dc4cbbb021 Merge pull request #12941 from FearlessTobi/setting-tooltips
shared_translation: Add tooltips for yuzu settings
2024-02-13 08:17:32 -05:00
Liam ebf7e6f2f5 device_memory_manager: skip unregistered interfaces on invalidate 2024-02-12 20:02:59 -05:00