commit this

This commit is contained in:
Nayla Hanegan 2024-08-23 17:59:17 -04:00
commit 0a671d3fff
2 changed files with 2 additions and 3 deletions

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, ((codelist_base_address & 0xFFFF0000) >> 16) + 0x3DE00000,
0x80001904);
0x800018F8);
PowerPC::MMU::HostWrite_U32(guard, (codelist_base_address & 0x0000FFFF) + 0x61EF0000,
0x80001908);
0x800018FC);
}
// Write a magic value to 'gameid' (codehandleronly does not actually read this).

View file

@ -390,7 +390,6 @@ void InstructionCache::Invalidate(Memory::MemoryManager& memory, JitInterface& j
u32 addr)
{
auto& system = Core::System::GetInstance();
auto& memory = system.GetMemory();
auto& ppc_state = system.GetPPCState();
if (!HID0(ppc_state).ICE || m_disable_icache)
return;