Clean up more Cemuhook leftovers (#253)

This commit is contained in:
Francesco Saltori 2022-09-16 13:34:41 +02:00 committed by GitHub
parent cebdccfdf5
commit 664d7ee902
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 48 deletions

View file

@ -121,12 +121,8 @@ bool GraphicPack2::LoadCemuPatches()
void GraphicPack2::LoadPatchFiles()
{
// order of loading patches:
// 1) If Cemuhook is loaded:
// 1.1) Check if patches.txt exists and if it does, stop here and do nothing (Cemuhook takes over patching)
// 1.2) Load Cemu-style patches (patch_<name>.asm)
// 2) If Cemuhook is not loaded:
// 1.1) Load Cemu-style patches (patch_<name>.asm), stop here if at least one patch file exists
// 1.2) Load Cemuhook patches.txt
// 1) Load Cemu-style patches (patch_<name>.asm), stop here if at least one patch file exists
// 2) Load Cemuhook patches.txt
// update: As of 1.20.2b Cemu always takes over patching since Cemuhook patching broke due to other internal changes (memory allocation changed and some reordering on when graphic packs get loaded)
if (LoadCemuPatches())