Commit Graph
14 Commits
Author SHA1 Message Date
JPikachuandJPikachu adc41bff70 [bsd, am, fermi] Replace assertions with warnings and update stubs (#3160)
- Return error logs instead of asserts for BSD sockets
- Warn about source depth != 1 in blits instead of assert in Fermi2D
- Update AM 210 - GetLaunchRequiredVersionUpgrade

Credit: liberodark.
Fixes Marvel Cosmic Invasion loading screen crash.

Co-authored-by: JPikachu <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3160
Reviewed-by: crueter <[email protected]>
Reviewed-by: Caio Oliveira <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-12-12 04:06:33 +01:00
JPikachu d96ab0df6a [docs] Add Boolean toggle guide (#3081)
Hope this helps someone, it was fun to write. ❤️

Signed-off-by: JPikachu <[email protected]>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3081
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: Caio Oliveira <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-12-06 23:33:33 +01:00
JPikachuandJPikachu 1c4dae066b [vk] Add back VIDS but disable on EDS0 (#2957)
Should fix regressions from removing it while also fixing black screen with it enabled

Co-authored-by: JPikachu <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2957
Reviewed-by: Maufeat <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-11-05 21:25:23 +01:00
612da00d1b [vk] Clean up Extended Dynamic State code (#2947)
- Removed forced dynamic state 0 logic
- Restore and update the removal of broken states on certain drivers
- Inside 'vk_rasterizer.cpp' make 'UpdateDynamicStates' only check device
   capabilities directly instead of relying on user settings.
- Add a 'Force Unsupported Extensions' toggle that:
   "Bypasses all driver workarounds and safety checks.
     May cause crashes, graphical glitches, or instability.
     Only enable for testing purposes."

Cleans up EDS logic and adds new 'Force Unsupported Extensions' toggle,
Fixes vertex explosions in 'Pokemon: Legends ZA' when EDS is set to 0.

Co-authored-by: JPikachu <[email protected]>
Co-authored-by: crueter <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2947
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-11-05 02:20:09 +01:00
4b34a5c9fa [am] Stub ReleaseSleepLock and ReleaseSleepLockTransiently (#2902)
Should fix some things in Super Mario Odyssey
Co-authored-by: lizzie <[email protected]>

Co-authored-by: JPikachu <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2902
Reviewed-by: Maufeat <[email protected]>
Reviewed-by: MaranBr <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-11-04 22:36:51 +01:00
JPikachuandJPikachu ea6c3c379c [cmake] Re-enable cubeb for FreeBSD (#2916)
Co-authored-by: JPikachu <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2916
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: MaranBr <[email protected]>
Reviewed-by: Caio Oliveira <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-11-01 03:49:08 +01:00
aa93e0cbb1 [video_core] Bypass mip level assertion to ASSERT_MSG (#2914)
This will bypass the check and continue execution,
preventing crashes in cases where games (like CTGP-DX) may request
more mip levels than supported. This is a temporary solution to bypass
instead of ending the crashing when asserts fail.

Co-authored-by: MaranBr <[email protected]>

Co-authored-by: JPikachu <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2914
Reviewed-by: MaranBr <[email protected]>
Reviewed-by: Caio Oliveira <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-11-01 01:36:03 +01:00
JPikachuandJPikachu ead5978b34 [kernel] Implement code address offset for Skyline compatibility (#2858)
- Add debug logging for 32-bit syscall argument tracking.

- Add CodeStartOffset constant (0x500000) applied to only 32-bit code address space
  types in KProcess::LoadFromMetadata.

- Replace CheckMemoryStateContiguous with two-stage CheckMemoryState
  in KPageTableBase::UnmapCodeMemory to discover and verify memory
  state more accurately.

Based on similar fixes in Ryujinx (commit 5e9678c8fe)
Fixes compatibility with:
- Skyline 32-bit modding framework
- CTGP-DX (Mario Kart 8 Deluxe mod)
- Other homebrew using 32bit Skyline

Co-authored-by: JPikachu <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2858
Reviewed-by: Shinmegumi <[email protected]>
Reviewed-by: Caio Oliveira <[email protected]>
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-10-31 19:49:37 +01:00
b5d54b8df7 [acc, ldn] Implement CreateClientProcessMonitor and stub LoadIdTokenCache changes (#2810)
- IManagerForApplication/SystemService: from 19.0.0+ LoadIdTokenCache (3) is now LoadIdTokenCacheDeprecated (3)
- IManagerForApplication/SystemService: LoadIdTokenCache (4) stubbed
- Implement CreateClientProcessMonitor to ldn:s and ldn:u
- Create new client_process_monitor.cpp/.h files
- Change non-domain (C) functions into domain (D) functions to fix crashes

Thanks to SwitchBrew documentation, fixes 'Pokemon: Legends Z-A' LDN issues.

Co-authored-by: JPikachu <[email protected]>
Co-authored-by: unknown <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2810
Reviewed-by: Maufeat <[email protected]>
Reviewed-by: MaranBr <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-10-24 12:34:49 +02:00
JPikachuandZephyron 8ae7cfe96a [romfs] Add romfslite mod folder support (Totk Ultracam) (#2730)
Support the romfslite folder type introduced in Atmosphere 1.9.5 for
memory-optimized mod loading. The emulator now detects and loads
romfslite folders the same way as romfs folders.

Utilised by Ultracam 3.0. Credit to Zephyron (Citron)

Co-authored-by: Zephyron <[email protected]>

Co-authored-by: Zephyron <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2730
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: MaranBr <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-10-14 00:12:12 +02:00
e157b3fa96 [am] Add Unknown90 to ILibraryAppletAccessor (#2728)
Fixes crashes in BOTW 1.8.2 and EOW 1.1.0 when not using Auto-Stub
TODO: Rename once documented in SwitchBrew

Co-authored-by: JPikachu <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2728
Reviewed-by: crueter <[email protected]>
Reviewed-by: MaranBr <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-10-14 00:10:30 +02:00
ab015bc730 [VK] Fix asserts with incorrect memory allocations (#357)
This fixes many assertions with incorrect memory allocations. Regression introduced in PR 334.

Co-authored-by: JPikachu <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/357
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: crueter <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-08-30 19:35:53 +02:00
JPikachuandJPikachu 37375220e8 [VK] Refine VRAM allocation strategy for improved stability and performance (#334)
These adjustments enhance memory management,
While increasing shader performance across all GPU types, including iGPUs.
This commit fixes a bug in Super Mario Odyssey where loading into a new area or pausing the game
Would cause the whole game to slow down (Most noticeable on RDNA 2 GPUs like the Steam Deck)

Thank you to all of our testers for helping eliminate this bug,
And thank you to Camille for the instructions/commit and to Zephyron for addressing this in Citron.

Co-authored-by: JPikachu <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/334
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-08-27 22:19:17 +02:00
JPikachuandMaufeat eeb68768d6 [vk] Exclude size equal alpha different copies from incompatible copy (#138)
Should fix bugs in Splatoon 2 and TotK

Co-authored-by: Maufeat <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/138
Co-authored-by: JPikachu <[email protected]>
Co-committed-by: JPikachu <[email protected]>
2025-07-27 19:56:22 +02:00