Commit Graph
100 Commits
Author SHA1 Message Date
MaranBr 87d2f03c39 [hid_core] Code cleanup (#4461)
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md)
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------
This is just a code cleanup. This is no longer necessary due to commit #4457.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4461
Reviewed-by: lizzie <[email protected]>
2026-09-26 02:21:45 +02:00
MaranBrandxbzk a27d35463e [video_core] Improve synchronization and refactor buffer cache timing logic (#4182)
This simplifies the GPU accuracy setting by removing the intermediate Balanced mode and setting High as the default on desktop platforms.

It introduces a dedicated setting for GPU fence behavior, allowing the synchronization policy to be configured independently of GPU accuracy.

The Vulkan buffer cache now tracks GPU recording timeline ticks and waits only when necessary, reducing unnecessary synchronization while maintaining correctness for hard-to-trace graphical bugs.

GPU buffer readback has also been refined to synchronize only the affected upload regions when needed, and default DMA behavior has been updated to align with the new GPU accuracy model.

### TL;DR

The fix for particles freezing and unfreezing in mid-air in `Super Mario Odyssey` has been improved, resulting in less of a performance hit.
This game requires the new `Enable GPU Buffer Readback` option to be enabled to fix this issue.

The vertex explosions that occurred in `Super Mario Bros. Wonder`, especially in World 4, have been completely eliminated. You can now enjoy a smooth experience without graphical glitches exploding across the screen.
This game requires the new `GPU Fence Behavior` option to be set to `Strict` to fully fix this issue.

The flickering issue inside certain Shrines in `The Legend of Zelda: Tears of the Kingdom` has also been fixed.
For now, this game requires the new `GPU Fence Behavior` option to be set to `Accurate` to fully fix this issue.

These options are intended to fix graphical bugs in games that require better synchronization behavior between CPU and GPU, so other games may be affected as well.

Co-authored-by: xbzk <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4182
Reviewed-by: Lizzie <[email protected]>
2026-07-10 05:25:12 +02:00
MaranBr b4b41ee62c [buffer_cache] Add option to control GPU buffer readback (#4126)
Added an option to control the GPU buffer readback, as it causes issues if the hardware cannot keep up with the additional workload.

Some games require this to render certain effects properly.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4126
2026-06-27 08:38:04 +02:00
MaranBr c22f57bc4e [video_core] Improve StagingBufferPool stream allocation (#4101)
This fixes (I really hope so) the random graphical corruption issue that can occur in Mario Kart 8 Deluxe and possibly other games as well.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4101
Reviewed-by: crueter <[email protected]>
Reviewed-by: Shinmegumi <[email protected]>
2026-06-22 17:04:52 +02:00
MaranBr eb8086a011 [buffer_cache] Fix Xenoblade Chronicles series (#4066)
This fixes a bug introduced in the Xenoblade Chronicles series where some small elements would occasionally flicker on the screen.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4066
Reviewed-by: crueter <[email protected]>
Reviewed-by: Lizzie <[email protected]>
2026-06-13 01:06:57 +02:00
MaranBr 0473747f94 [am] Fix application state notification (#4027)
This fixed issues in Mario Kart 8 multiplayer where the native controller applet would pop up, then once A was pressed and it exited, it would freeze the game but music would continue playing.

The issue was that UpdateRequestedFocusState() updates the focus state but never sets m_has_focus_state_changed for applications. Since ShouldSignalSystemEvent() checks that flag for applications, they never receive FocusStateChanged messages when LLE library applets exit. The game keeps running (hence the music) but is stuck waiting for a focus notification that never arrives. HLE applets aren't affected because their dummy process has is_process_running=false, so the game is never considered obscured in the first place.

Credits: [davidcollini](https://github.com/davidcollini)

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4027
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: crueter <[email protected]>
2026-05-31 03:55:12 +02:00
MaranBr c84d605426 [buffer_cache] Fix buffer upload overwriting GPU-modified regions (#4000)
This fixes a bug in Super Mario Odyssey, in Bowser's Kingdom, where particles rapidly freeze and unfreeze in midair.

It also fixes vertex explosions in Super Mario Party Jamboree.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4000
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: Maufeat <[email protected]>
2026-05-29 14:01:06 +02:00
MaranBr 573e06131d [texture_cache] Fix a rare visual corruption under specific conditions (#3986)
This fixes a rare visual corruption that can occur under specific conditions depending on the hardware used.

This bug is known to affect the loading screens in The Legend of Zelda: Tears of the Kingdom.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3986
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
2026-05-24 01:03:20 +02:00
MaranBr 06c8926a2e [video_core] Fix initial DMA sync deadlock in OpenGL by initializing synced state (#3987)
This fixes a deadlock issue that prevents any game using OpenGL + GPU Accurate from booting when Sync Memory Operations is enabled.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3987
Reviewed-by: Lizzie <[email protected]>
2026-05-24 01:02:19 +02:00
MaranBr fc5fa7f1b2 [video_core] Reapply "Simplify TextureCache GC and remove redundant code" (#3723)
This enhances the garbage collection in TextureCache to make it more responsive and reliable during long gameplay sessions.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3723
Reviewed-by: crueter <[email protected]>
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
2026-05-04 21:28:43 +02:00
MaranBr 3a823de605 [dynarmic] Remove Ignore Global Monitor from CPU Accuracy Auto (#3846)
This fixes a flickering issue in some games, such as The Legend of Zelda: Echoes of Wisdom.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3846
Reviewed-by: crueter <[email protected]>
Reviewed-by: Lizzie <[email protected]>
2026-04-21 05:03:43 +02:00
MaranBr 028050cf04 [shader_recompiler] Fix IsScaled dynamic indexing reading wrong bit source (#3789)
The non-immediate path in IsScaled was incorrectly using index_value as the source for OpBitFieldUExtract, instead of loading the corresponding word from the push constant bitmask.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3789
Reviewed-by: CamilleLaVey <[email protected]>
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-04-06 19:13:35 +02:00
MaranBr af554c0baa [video_core] Fix Maxwell3D register processing to always mark dirty flags (#3712)
Removed the early return in ProcessDirtyRegisters to ensure all dependent dirty flags are set even if the register value hasn't changed.

This fixes flickering and vertex explosions on the Hero's Path in The Legend of Zelda: Breath of the Wild, fixes the teleport bug in The Legend of Zelda: Tears of the Kingdom, fixes the grey Luigi in Luigi's Mansion 3, and may also improve rendering in other games that rely on redundant register writes.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3712
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-03-17 19:53:28 +01:00
MaranBr f8ea09fa0f [video_core] Simplify TextureCache GC and remove redundant code (#3652)
This enhances the garbage collection in TextureCache to make it more responsive and reliable during long gameplay sessions.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3652
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-03-08 22:45:35 +01:00
MaranBr 23566a1f7d [prepo] Add support for missing PlayReport commands (#3674)
This fixes:

`[ 433.095195] Debug <Critical> core\hle\service\service.cpp:operator ():69: Assertion Failed!
Unknown / unimplemented function '10107': port='prepo:u' cmd_buf={[0]=0x110006, [1]=0x80000014, [2]=0x1, [3]=0x0, [4]=0x0, [5]=0x191080, [6]=0x5A7350F8, [7]=0x112, [8]=0x5A735158}`

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3674
Reviewed-by: CamilleLaVey <[email protected]>
Reviewed-by: DraVee <[email protected]>
Reviewed-by: Maufeat <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-03-06 15:02:59 +01:00
MaranBr ea209e6dab [vulkan] Fine-tuning of frame pacing logic (#3628)
It makes fine adjustments to the frame pacing, ensuring better stability and precision.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3628
Reviewed-by: crueter <[email protected]>
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-03-02 02:53:01 +01:00
MaranBr b5f9f8b743 [vulkan] Fix Vulkan rendering, image layout, and synchronization issues (#3511)
This fixes a visual corruption issue that occurred intermittently after loading screens, where some games would start the scene with vertex explosions, artifacts or with all colors blown out, resembling neon.

Among the known games affected by this bug are Mario Kart 8 Deluxe, The Legend of Zelda: Breath of the Wild, The Legend of Zelda: Tears of the Kingdom, Kirby and the Forgotten Land, Luigi's Mansion 3, Xenoblade Chronicles 3 and possibly others as well.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3511
Reviewed-by: DraVee <[email protected]>
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-03-02 02:51:50 +01:00
MaranBr 8e373eb714 [vulkan] Improve frame pacing (#3535)
This improves frame pacing control, fixes accumulated drift, and adds the ability to change it while the game is running.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3535
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-02-15 04:12:01 +01:00
MaranBr 7d81a724ef [shader_recompiler] Fix Shuffle handling for Position attributes (#3406)
This fixes the rescaling path to properly convert to F32, matching native 1x behavior for any resolution.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3406
Reviewed-by: DraVee <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-02-12 01:34:25 +01:00
MaranBr 5f676a6a55 [vulkan] Add support for target FPS frame pacing (#3494)
This allows users to choose how the emulator manages frame pacing to reduce stuttering and provide a smoother and more consistent frame rate.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3494
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-02-12 00:23:19 +01:00
MaranBr 13f11ebf49 [nvnflinger] Reimplement GetBufferHistory (#3394)
Reimplements GetBufferHistory, enabling tracking and retrieval of recent buffer states. This can improve rendering performance and stability in some games.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3394
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-02-03 18:25:15 +01:00
MaranBr b2b73ecb62 [opengl] Fix SwapBuffers warning when window is not exposed (#3429)
This fixes an annoying warning when opening any game using OpenGL.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3429
Reviewed-by: CamilleLaVey <[email protected]>
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-01-30 23:06:22 +01:00
MaranBr 4f6195881c [video_core] Fix 1x graphics bugs without performance loss (#3385)
This fixes weird lines at 1x resolution without impacting performance in some titles.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3385
Reviewed-by: Maufeat <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-01-26 03:36:30 +01:00
MaranBr de449d2caa [video_core] Fix missing draws caused by implicit render pass state (#3355)
Some blit paths could be recorded while a render pass was still active, which is undefined behavior in Vulkan.

Depending on driver behavior and timing, this could result in intermittent visual artifacts, incomplete frames being presented, or issues with capture paths.

Explicitly request an outside render pass operation context before issuing blit commands, ensuring all rendering has fully completed before presentation or readback.

This does not change intended rendering output, but fixes a class of synchronization and command buffer state issues.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3355
Reviewed-by: DraVee <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-01-23 00:23:02 +01:00
MaranBr 9aa8e9b0a1 [video_core] Disable resolution rescaling pass on Android to avoid visual artifacts (#3353)
The rescaling optimization causes visual artifacts on Android (GLES). Disable the pass entirely on Android to preserve correct rendering.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3353
Reviewed-by: crueter <[email protected]>
Reviewed-by: Maufeat <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-01-20 18:54:02 +01:00
MaranBr 30e073b02b [video_core] Fixes flickering and weird textures at native 1x resolution (#3346)
The issue occurs because shaders generated without RescalingPass are too simple, triggering driver optimization bugs on some GPUs.
Fixes rendering issues in Luigi's Mansion 3 and possibly other games as well.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3346
Reviewed-by: DraVee <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-01-19 20:57:48 +01:00
MaranBr 023a4bceca [video_core] Avoid false feedback loop barriers for render targets (#3338)
Ignore views that are render targets when checking feedback loops. Fixes flickering caused by false barriers.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3338
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2026-01-19 03:05:14 +01:00
MaranBr 55646657e1 [audio_core] Better biquad filter logic (#3235)
This removes all redundant code and improves the logic of the biquad filter.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3235
Reviewed-by: Maufeat <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-12-31 14:15:06 +01:00
MaranBr 2b4d13c205 [video_core] Fix SignalFence and restore OpenGL rendering (#3224)
Fixes OpenGL crashing on launch

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3224
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-12-31 01:17:24 +01:00
MaranBr 8ad1d0c317 [maxwell_dma] Fix CONST_A for different component sizes in MaxwellDMA Launch (#3211)
This implements 1 byte and 2 bytes component sizes, required by Marvel: Cosmic Invasion.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3211
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-12-31 01:16:44 +01:00
MaranBr 8d31484f64 [video_core] Reduce synchronization overhead and improve performance in DMA operations (#3179)
This reworks the logic to improve performance in many games that heavily rely on DMA. It can help all platforms, but on desktop the performance boost can be noticeable, especially on dedicated GPUs. The option Sync Memory Operations must be enabled.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3179
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-12-31 01:00:11 +01:00
MaranBr b95c4d2d5d [audio_core] Fix broken biquad effect (#3225)
This fixes the broken biquad effect.

Thanks to Forrest Mark X for showing us where the problem was occurring in the code.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3225
Reviewed-by: Maufeat <[email protected]>
Reviewed-by: DraVee <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-12-29 20:24:57 +01:00
MaranBr e6850cbad5 [audio_core] Fix audio mute by removing minimum volume limit (#3194)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3194
Reviewed-by: Caio Oliveira <[email protected]>
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-12-27 01:17:20 +01:00
MaranBr f0fe283038 [host1x] Fix memory leak caused by unbounded frame buffering (#3180)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3180
Reviewed-by: Caio Oliveira <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-12-21 00:51:26 +01:00
MaranBrandPavelBARABANOV 9da38715fe [video_core] Rework GPU Accuracy levels and remove Early Release Fences toggle (#3129)
The GPU Accuracy level is now divided into Performance, Balanced and Accurate.

1. Performance prioritizes speed at all costs. It's faster, but it can be unstable and may have some bugs (which is expected).

2. Balanced maintains excellent performance and is safer against bugs and shader corruption.

3. Accurate is the most precise and the most expensive in terms of hardware. Only a few games still need this level to work properly.

The Release Early Fences toggle has also been removed by @PavelBARABANOV, as it's not needed anymore.

Co-authored-by: PavelBARABANOV <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3129
Reviewed-by: Caio Oliveira <[email protected]>
Reviewed-by: Maufeat <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-12-09 18:11:05 +01:00
MaranBr 7157d5167e [video_core] Fix inconsistency between EDS and VIDS settings (#3148)
Fixes an issue where selecting EDS 0 for a specific game would incorrectly disable VIDS globally.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3148
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-12-09 17:57:03 +01:00
MaranBrandCaio Oliveira d8caa74233 [video_core] Fix regressions introduced in #3015 (#3068)
This change is intended to fix two regressions:

1. Fixes the issue where `EDS3` + `Vertex Input Dynamic State` being enabled prevented some games from launching correctly.

2. Fixes the issue with broken water in `Super Mario Party Jamboree`.

This complements #3042.

Co-authored-by: Caio Oliveira <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3068
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-11-22 04:10:06 +01:00
MaranBrandJPikachu f7f6a4cde4 [video_core] Improve EDS logic and fix a lot of inconsistencies (#3042)
Improves EDS logic and fix some inconsistencies.

Removes a lot of unneeded code.

Adds an option to control the `Vertex Input Dynamic State` extension.

Fixes issues in Pokémon Legends: Z-A on any EDS level.

Co-authored-by: JPikachu <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3042
Reviewed-by: crueter <[email protected]>
Reviewed-by: Caio Oliveira <[email protected]>
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-11-21 02:00:24 +01:00
MaranBr b9f54f4979 [vk] Fix EDS on AMD GPUs (#3026)
This fixes a regression on AMD GPUs.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3026
Reviewed-by: Caio Oliveira <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-11-15 18:24:47 +01:00
MaranBr d89df63a28 [video_core] Clean up the code and fix some inconsistences (#3015)
This cleans up the code and fixes some inconsistencies in the EDS settings.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3015
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-11-13 03:04:00 +01:00
MaranBr 7764cdd57e [am] Improve some error messages (#2996)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2996
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-11-10 23:32:50 +01:00
MaranBr 576c4e5f77 [audio_core] Fix audio reverb effect acording to specs (#2976)
This fixes the audio reverb issue acording to specs. Known for affecting The Legend of Zelda: Echoes of Wisdom.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2976
Reviewed-by: CamilleLaVey <[email protected]>
Reviewed-by: Caio Oliveira <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-11-08 03:50:51 +01:00
MaranBr 0510f0bdbc [audio_core] Increase RingBuffer and SinkBuffer size a bit more (#2964)
This helps weaker CPUs maintain consistent audio playback while keeping latency low.

Complement to #2944.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2964
Reviewed-by: Maufeat <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-11-07 01:42:57 +01:00
MaranBr 569dbfe8c0 [video_core] Increase MAX_MIP_LEVELS to 16 according to specs (#2965)
This increases MAX_MIP_LEVELS from 14 to 16, according to specs.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2965
Reviewed-by: Maufeat <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-11-07 01:42:52 +01:00
MaranBr ac2287f261 [audio_core] Slightly increase audio latency (#2944)
This slightly increases audio latency to prevent audio skipping in some games, such as Super Mario Odyssey when playing videos.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2944
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-11-04 00:23:03 +01:00
MaranBr 2d3ba3e5dd [audio_core] Remove unused files and make audio rendering more safe (#2903)
This removes unused files left over in the project and makes audio rendering more safe to avoid any kind of desynchronization or muting.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2903
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: Maufeat <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-31 18:00:35 +01:00
MaranBr 06275885f1 [video_core] Remove redundant check on image_view and image_view_info (#2891)
This removes a redundant check on image_view and image_view_info. This check is not needed here.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2891
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-30 03:45:43 +01:00
MaranBr 83c162d80d [video_core] Fix regression on image_view and image_view_info (#2873)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2873
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-29 00:07:13 +01:00
MaranBr ecf7af0cde Revert PRs #2778 and #2812 (#2867)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2867
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-28 18:56:03 +01:00
MaranBr b2ac18173f [video_core] Fix more edge cases in image_view and image_view_info (#2853)
This fixes more edge cases where incorrect textures were used in image_view and image_view_info.

Complement to PR 2830.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2853
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-28 04:25:23 +01:00
MaranBr 73ebf59af7 [video_core] Improve texture rendering (#2830)
This fixes some edge cases and improves texture rendering, bringing it closer to specifications. This fixes many assertions that occur in some games, such as EOW.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2830
Reviewed-by: Maufeat <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-26 02:14:45 +02:00
MaranBr cd4bcb91cc [video_core] Better error messages (#2827)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2827
Reviewed-by: Maufeat <[email protected]>
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-24 11:35:33 +02:00
MaranBr 9c7ed0f59d [hid_core] Fix a specific case where all controllers get disconnected by certain games (#2759)
There's a bug in some games where all controllers get disconnected. This fixes those specific cases where controllers set to Handheld or Player 1 need to remain connected.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2759
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-17 22:24:38 +02:00
MaranBr 3d6a784e62 [qt] Add missing margin to firmware label (#2757)
This just adds a missing margin to the firmware label.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2757
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-17 17:23:52 +02:00
MaranBr ef14303c48 [common] Ensures that the Custom Web Applet will never be enabled if it has not been compiled with the project (#2754)
This ensures that the Custom Web Applet will never be enabled under any circumstances if it has not been compiled with the project.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2754
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-17 01:23:48 +02:00
MaranBr b7021afff6 [hid_core] Quick fix for PR 2747 (#2753)
Ensures that only the controllers enabled in the settings remain active when the game is running.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2753
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-16 20:33:38 +02:00
MaranBr bb836ed6c2 [hid_core] Fix a crash related to setting controls while the game is running (#2747)
This fixes a crash related to setting controls while the game is running. Fixes BOTW, TOTK, MK8D and possibly others as well.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2747
Reviewed-by: crueter <[email protected]>
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-16 03:14:39 +02:00
MaranBr 053f4e95d4 [common] Better approach to enabling and disabling the Web Applet (#2729)
This implements a better approach to enabling and disabling the Web Applet, whether compiled or not.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2729
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-14 02:38:04 +02:00
MaranBr 1e1b8ad33f [common] Properly skip Custom Web Applet if YUZU_USE_QT_WEB_ENGINE is not defined (#2717)
This restores the Offline Web Applet LLE setting as default and properly skip Custom Web Applet if YUZU_USE_QT_WEB_ENGINE is not defined preventing crashes.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2717
Reviewed-by: crueter <[email protected]>
Reviewed-by: Maufeat <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-11 14:45:14 +02:00
MaranBr 91493fa39b [vk] Fast UBO: fix tracking (#2712)
Fixes or mitigates memory errors in TOTK and possibly other games as well.

Credit: Ribbit
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2712
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-11 06:34:21 +02:00
MaranBr bfffafe68b [common] Change web offline applet default setting to HLE (#2705)
This prevents some games from ignoring the disable web applet setting.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2705
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-10 01:36:55 +02:00
MaranBr 71a87b2c55 [video_core] Fix stutters and freezes when playing FMV content in some games (#2650)
This fixes stutters and freezes when playing FMV content in some games.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2650
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-03 23:08:20 +02:00
MaranBr 2d8cb2d457 [file_sys] Properly fix the installation of new updates (#2651)
This removes the workaround and properly fix the installation of new updates.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2651
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-02 22:48:52 +02:00
MaranBr 1a5b3fb239 [audio_core] Fix audio reverb effect (#2646)
This fixes the audio reverb effect that was causing loud noise in some games and on some platforms.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2646
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-02 01:30:05 +02:00
MaranBr 326865cba2 [host1x] Improve FFmpeg error handling (#2643)
This improves the FFmpeg error handling.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2643
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-02 00:15:14 +02:00
MaranBr 9a098441de [audio_core] Fix audio issue in The Legend of Zelda - Echoes of Wisdom (#2594)
This fixes the audio issue in The Legend of Zelda - Echoes of Wisdom on Windows.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2594
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-10-01 05:33:37 +02:00
MaranBr c725641f13 [video_core] Fix fast buffers without performance loss (#2605)
Fixes games that have some elements flickering on the screen, such as Kirby Star Allies and others, without impacting performance.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2605
Reviewed-by: CamilleLaVey <[email protected]>
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-09-28 07:29:19 +02:00
MaranBr 19eb8272b1 [video_core] Fix a bug in buffer cache that caused flickering in some games when using fast buffering (#2584)
This fixes a bug in the buffer cache that caused flickering in some games when using fast buffering. This fixes Kirby Star Allies, Yoshi's Crafted World, and possibly many others.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2584
Reviewed-by: Lizzie <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-09-26 05:13:08 +02:00
MaranBr 42280f34d6 [video_core] Improve asynchronous shader building description (#2568)
This improves the asynchronous shader building description.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2568
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-09-24 22:11:13 +02:00
MaranBr 1937286798 [video_core] Improve asynchronous shader building (#2560)
This improves the asynchronous shader building process.

Fixes a TOTK inventory bug that caused some icons to be missing under certain circumstances when using asynchronous shader building.

Fixes an issue in Kirby and the Forgotten Land where arriving at the checkpoint would cause a graphical bug in the building when asynchronous shader building was enabled.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2560
Reviewed-by: CamilleLaVey <[email protected]>
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-09-24 00:58:28 +02:00
MaranBr 725407b989 [video_core] Add ability for integrated devices to control the amount of memory used by the emulator (#2528)
This adds the ability for integrated devices to control the amount of memory used by the emulator.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2528
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: Shinmegumi <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-09-20 14:17:07 +02:00
MaranBr 8ac495acee [fs] Remove remaining files from NCA bypass and fix some asserts (#2502)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2502
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-09-17 17:45:52 +02:00
MaranBrandPavelBARABANOV 19036c59b5 [video_core] Simplify DMA options (#525)
This simplifies DMA options in a clearer and more objective way.

Co-authored-by: PavelBARABANOV <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/525
Reviewed-by: crueter <[email protected]>
Reviewed-by: Shinmegumi <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-09-16 18:42:48 +02:00
MaranBr 80dfc3d76f [fs] Remove remaining files from NCA bypass (#495)
Fix Android build after PR 94.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/495
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-09-15 17:47:19 +02:00
MaranBr ad6045d9a4 [vk] Fix regression on PR 321 (#394)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/394
Reviewed-by: Shinmegumi <[email protected]>
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-09-12 16:02:25 +02:00
MaranBr 3fbfd64722 [fs] Fix integrity check validation for new updates (#395)
This fixes the integrity check validation for new updates.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/395
Reviewed-by: Shinmegumi <[email protected]>
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-09-12 16:02:12 +02:00
MaranBr 57fbdd516e [host_memory] Fix a bunch of memory errors on Windows (#303)
This fixes a bunch of memory errors that could happen on Windows. Possibly regression introduced on PR 187.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/303
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-29 14:20:22 +02:00
MaranBr d709771d67 [core] Unsafe toggles cannot be changed at runtime (#344)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/344
Reviewed-by: CamilleLaVey <[email protected]>
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-29 00:07:21 +02:00
MaranBr 428249cb01 [debug] Rename remaining names in accordance with PR 341 (#343)
This renames the remaining names in accordance with PR 341.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/343
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-28 16:46:24 +02:00
7f482d0730 [core] Add option to control Host MMU Emulation (#324)
This adds an option to enable or disable Host MMU Emulation [Android/PC], brings better config per-game handling with Disable Buffer Reorder, disables Flush Debug Lines by Log, option which was enabled by default on Android/PC taxing performance and translates to all supported languages the recent changes.

Leaves room for NCE improvements in the foreseable future.

Co-authored-by: crueter <[email protected]>
Co-authored-by: PavelBARABANOV <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/324
Reviewed-by: crueter <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-27 23:02:46 +02:00
MaranBr 44d658bbc5 [core] Fix Diablo 3 (#314)
This fixes Diablo 3. Regression introduced on PR 311.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/314
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-25 21:04:44 +02:00
MaranBr a1c5b5c911 [core] Fix a specific condition where the controller applet would still freeze in MK8D (#311)
This fixes a specific condition where the controller applet would still freeze on the MK8D under certain circumstances.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/311
Reviewed-by: Shinmegumi <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-25 18:23:38 +02:00
MaranBr 4ea9664ff4 [video_core] Fix EDS defaults by platform (#305)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/305
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-24 02:05:38 +02:00
5b864d406d [video_core] Add option to control the DMA precision level at runtime (#304)
This adds an option to control the DMA precision level at runtime.

Co-authored-by: crueter <[email protected]>
Co-authored-by: PavelBARABANOV <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/304
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-23 19:42:10 +02:00
MaranBr a51953e4f9 [video_core] Add hability to change Sync Memory Operations at runtime (#300)
This adds the hability to change Sync Memory Operations at runtime.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/300
Reviewed-by: Shinmegumi <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-22 16:23:34 +02:00
MaranBr de5c761aa7 [video_core] Update Vulkan Extended Dynamic State settings (#292)
This updates the Vulkan Extended Dynamic State settings and descriptions to improve and make it more clear how it works.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/292
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-21 19:27:39 +02:00
7bfa2404a6 [video_core] Improve DMA logic and add an option to sync memory operations (#276)
This improves DMA logic and add an option to sync memory operations.

Thanks to Higgs for the new DMA logic.

Co-authored-by: PavelBARABANOV <[email protected]>
Co-authored-by: crueter <[email protected]>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/276
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-20 00:21:25 +02:00
MaranBr 1307f3510d [externals] Fix usage of USE_CCACHE for Sirit (#282)
This Fixes usage of USE_CCACHE for Sirit.

Credit: DraVee

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/282
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-19 17:39:28 +02:00
MaranBr c97d0c8b53 [desktop] Fix VRAM Usage Mode description (#277)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/277
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-18 20:10:34 +02:00
MaranBr b906abf9fc [kernel] Ensure all kernel objects exist before destroying them and avoid infinite loop between Open() and Close() functions (#261)
This ensures that all kernel objects exist before destroying them and prevents an infinite loop between the Open() and Close() functions.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/261
Reviewed-by: Shinmegumi <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-15 14:01:11 +02:00
MaranBr 234e41193e [desktop] Fix Default theme on Windows 10 (#246)
This fixes the default theme on Windows 10. Regression introduced in commit: [3f02d77](https://git.eden-emu.dev/eden-emu/eden/commit/3f02d7713f1bfb36245486019bc014ecc49a1b19)

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/246
Reviewed-by: crueter <[email protected]>
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-12 20:01:55 +02:00
MaranBr 0102f548d0 [host1x] Update FFmpeg to 7.1.1 and add support for NVidia CUDA on Linux (#207)
This updates FFmpeg to 7.1.1 and add support for NVidia CUDA on Linux, following the same version as Android and Windows to maintain a standard across platforms.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/207
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-08-05 23:16:15 +02:00
MaranBr 7249bc0d22 [host1x] Remove unused code (#161)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/161
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-07-30 21:08:43 +02:00
MaranBr b5bbe6d865 [externals] Update some submodules (#119)
This updates some submodules to keep the project in sync with the latest, stable fixes.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/119
Co-authored-by: MaranBr <[email protected]>
Co-committed-by: MaranBr <[email protected]>
2025-07-27 02:41:08 +02:00
MaranBr 4fc711587f Fix headers 2025-07-24 09:53:02 -04:00
MaranBr 4ced8d23ac Fix typo 2025-07-24 09:47:56 -04:00
MaranBr ebd3605313 Quick fix and code cleanup 2025-05-20 16:01:12 -04:00
MaranBr 1b2bccf51f Improves Externals, CI, CMake and Qt handling 2025-05-20 15:57:19 -04: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
MaranBr daab352512 Update FFmpeg to 7.0.3 2025-05-13 09:22:42 -04:00