Boot: Update BAT lookup table on booting ELF.

This commit is contained in:
degasus 2016-08-29 19:11:09 +02:00
parent 6493ea1eb9
commit ce5dac11a2

View File

@ -85,6 +85,8 @@ bool CBoot::Boot_ELF(const std::string& filename)
PowerPC::ppcState.spr[SPR_DBAT4L] = 0x10000002;
PowerPC::ppcState.spr[SPR_DBAT5U] = 0xd0001fff;
PowerPC::ppcState.spr[SPR_DBAT5L] = 0x1000002a;
PowerPC::DBATUpdated();
PowerPC::IBATUpdated();
if (!reader.LoadSymbols())
{