mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 22:59:47 -06:00
Boot: Update BAT lookup table on booting ELF.
This commit is contained in:
@ -85,6 +85,8 @@ bool CBoot::Boot_ELF(const std::string& filename)
|
|||||||
PowerPC::ppcState.spr[SPR_DBAT4L] = 0x10000002;
|
PowerPC::ppcState.spr[SPR_DBAT4L] = 0x10000002;
|
||||||
PowerPC::ppcState.spr[SPR_DBAT5U] = 0xd0001fff;
|
PowerPC::ppcState.spr[SPR_DBAT5U] = 0xd0001fff;
|
||||||
PowerPC::ppcState.spr[SPR_DBAT5L] = 0x1000002a;
|
PowerPC::ppcState.spr[SPR_DBAT5L] = 0x1000002a;
|
||||||
|
PowerPC::DBATUpdated();
|
||||||
|
PowerPC::IBATUpdated();
|
||||||
|
|
||||||
if (!reader.LoadSymbols())
|
if (!reader.LoadSymbols())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user