Skip to content

Commit

Permalink
Patch: Actually apply type 2 patches on the entry point
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
CookiePLMonster authored and F0bes committed Jan 8, 2025
1 parent 501c543 commit 7ebcca3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pcsx2/VMManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7ebcca3

Please sign in to comment.