Super Extended codehandler fix

This commit is contained in:
Nayla Hanegan 2025-01-01 17:55:16 -05:00
commit 24f5d5e76b

View file

@ -212,9 +212,9 @@ static Installation InstallCodeHandlerLocked(const Core::CPUThreadGuard& guard)
PowerPC::MMU::HostWrite_U32(guard, 0x00000000, addr); PowerPC::MMU::HostWrite_U32(guard, 0x00000000, addr);
} }
PowerPC::MMU::HostWrite_U32(guard, ((codelist_base_address & 0xFFFF0000) >> 16) + 0x3DE00000, PowerPC::MMU::HostWrite_U32(guard, ((codelist_base_address & 0xFFFF0000) >> 16) + 0x3DE00000,
0x800018F8); 0x80001904);
PowerPC::MMU::HostWrite_U32(guard, (codelist_base_address & 0x0000FFFF) + 0x61EF0000, PowerPC::MMU::HostWrite_U32(guard, (codelist_base_address & 0x0000FFFF) + 0x61EF0000,
0x800018FC); 0x80001908);
} }
// Write a magic value to 'gameid' (codehandleronly does not actually read this). // Write a magic value to 'gameid' (codehandleronly does not actually read this).