cemu-project / Cemu

Cemu - Wii U emulator
https://cemu.info
Mozilla Public License 2.0
6.6k stars 506 forks source link

graphics Pack applies two times during runtime when click with different memory locations #1237

Open TcpLink-2024 opened 2 weeks ago

TcpLink-2024 commented 2 weeks ago

Current Behavior

when graphics Pack ( asm patch ) enabled in menu during runtime it applied two times, time difference 1 ms ( for small patches ) and two different memory regions, as shown in log.txt

[17:44:00.705] Applying patch group 'Some_Patch' (Codecave: 01800100-01800160) [17:44:00.706] Applying patch group 'Some_Patch' (Codecave: 01800200-01800260)

Suspect double menu handling, during focus on item, and during click on item

during startup, same graphics Pack applies one time, also 1.26.2f works correctly on runtime

Expected Behavior

when graphics Pack ( asm patch ) enabled in menu during game running, it should apply only once

Steps to Reproduce

load some game ( botw for example ) in cemu ( 2.0-86 ), click on some disabled graphics Pack ( for example 9999StampsLimit in community patches for botw ), open log.txt there's two line for patch applying

System Info (Optional)

OS: GPU:

Emulation Settings (Optional)

No response

Logs (Optional)

No response