mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Merge pull request #13109 from Pokechu22/fifo-player-wii-bats
FifoPlayer: Set up additional BATs in Wii mode
This commit is contained in:
commit
2b22e6ffc9
@ -639,6 +639,16 @@ void FifoPlayer::LoadMemory()
|
||||
ppc_state.spr[SPR_DBAT0L] = 0x00000002;
|
||||
ppc_state.spr[SPR_DBAT1U] = 0xc0001fff;
|
||||
ppc_state.spr[SPR_DBAT1L] = 0x0000002a;
|
||||
if (m_File->GetIsWii())
|
||||
{
|
||||
ppc_state.spr[SPR_IBAT4U] = 0x90001fff;
|
||||
ppc_state.spr[SPR_IBAT4L] = 0x10000002;
|
||||
ppc_state.spr[SPR_DBAT4U] = 0x90001fff;
|
||||
ppc_state.spr[SPR_DBAT4L] = 0x10000002;
|
||||
ppc_state.spr[SPR_DBAT5U] = 0xd0001fff;
|
||||
ppc_state.spr[SPR_DBAT5L] = 0x1000002a;
|
||||
HID4(ppc_state).SBE = 1;
|
||||
}
|
||||
|
||||
PowerPC::MSRUpdated(ppc_state);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user