Patch: Actually apply type 2 patches on the entry point

Type 2 patches were supposed to be "Type 0 + Type 1",
but in reality they only executed on vblank, making them equivalent
to Type 1.
This commit is contained in:
Silent 2025-01-06 12:20:49 +01:00 committed by Ty
parent 501c543d1b
commit 7ebcca36d2
1 changed files with 1 additions and 0 deletions

View File

@ -2771,6 +2771,7 @@ void VMManager::Internal::EntryPointCompilingOnCPUThread()
HandleELFChange(true);
Patch::ApplyLoadedPatches(Patch::PPT_ONCE_ON_LOAD);
Patch::ApplyLoadedPatches(Patch::PPT_COMBINED_0_1);
// If the config changes at this point, it's a reset, so the game doesn't currently know about the memcard
// so there's no need to leave the eject running.
FileMcd_CancelEject();