mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix Diabolik: The Original Sin crash
This commit orignal want fix #3326 by @unknownbrackets
This commit is contained in:
parent
b4db1e6941
commit
1c3adb42f2
1 changed files with 2 additions and 1 deletions
|
@ -170,8 +170,9 @@ bool ElfReader::LoadRelocations(Elf32_Rel *rels, int numRelocs)
|
|||
case R_MIPS_16:
|
||||
{
|
||||
char temp[256];
|
||||
op = (op & 0xFFFF0000) | (((int)(op & 0xFFFF) + (int)relocateTo) & 0xFFFF);
|
||||
MIPSDisAsm(MIPSOpcode(op), 0, temp);
|
||||
ERROR_LOG_REPORT(LOADER, "WARNING: Unsupported R_MIPS_16 reloc @ %08x : %s", addr, temp);
|
||||
ERROR_LOG_REPORT(LOADER, "Testing: R_MIPS_16 reloc @ %08x : %s", addr, temp);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue