mirror of
https://github.com/libretro/Play-.git
synced 2024-12-01 04:30:55 +00:00
Remove throw when unsupported relocation type is encountered.
Log and assert instead to prevent crashes.
This commit is contained in:
parent
73e13a39b5
commit
e97dc42f1a
@ -2957,7 +2957,11 @@ void CIopBios::RelocateElf(CELF& elf, uint32 baseAddress)
|
||||
}
|
||||
break;
|
||||
default:
|
||||
throw std::runtime_error("Unknown relocation type.");
|
||||
//Some games use relocation types that might not be supported by the IOP's ELF loader
|
||||
//- R_MIPS_GPREL16: Used by Sega Ages 2500 Volume 8: Virtua Racing
|
||||
CLog::GetInstance().Print(LOGNAME, "Unsupported ELF relocation type encountered (%d).\r\n",
|
||||
relocationType);
|
||||
assert(false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user