mirror of
https://github.com/libretro/Play-.git
synced 2024-12-11 18:54:11 +00:00
Add patch for patched FFX PSF IOP module.
This commit is contained in:
parent
a5b75c576f
commit
6129e1837d
@ -629,6 +629,17 @@ int32 CIopBios::LoadModule(CELF& elf, const char* path)
|
||||
}
|
||||
}
|
||||
|
||||
//Patch for Final Fantasy X PSF set ------------------------------
|
||||
if(strstr(path, "ffxpatch.irx") != NULL)
|
||||
{
|
||||
const uint32 patchAddress = moduleRange.first + 0x113C8;
|
||||
uint32 instruction = m_cpu.m_pMemoryMap->GetWord(patchAddress);
|
||||
if(instruction == 0x03E00008)
|
||||
{
|
||||
m_cpu.m_pMemoryMap->SetWord(patchAddress, 0x00000000);
|
||||
}
|
||||
}
|
||||
|
||||
return loadedModuleId;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user