Always clear memory when booting

Reading uninitalized memory is non-deterministic. We used to only
clear the memory when using EmulatedBS2_GC or FifoPlayer, but we
now do it during Memory::Init instead so it always gets done.
This commit is contained in:
JosJuice
2016-04-01 21:35:26 +02:00
parent 486d3a7114
commit 2db2672810
3 changed files with 6 additions and 7 deletions

View File

@ -380,8 +380,6 @@ void FifoPlayer::LoadMemory()
PowerPC::ppcState.spr[SPR_DBAT1U] = 0xc0001fff;
PowerPC::ppcState.spr[SPR_DBAT1L] = 0x0000002a;
Memory::Clear();
SetupFifo();
u32 *regs = m_File->GetBPMem();