mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 00:29:11 +01:00
Boot: Update BAT lookup table on booting ELF.
This commit is contained in:
parent
6493ea1eb9
commit
ce5dac11a2
@ -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())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user