init savemem to 0xFF instead of 0x00.
This commit is contained in:
parent
52d783e066
commit
0f0e04bfa3
|
@ -141,7 +141,7 @@ void LoadSave(const char* path, u32 type)
|
||||||
if (SRAMLength)
|
if (SRAMLength)
|
||||||
{
|
{
|
||||||
SRAM = new u8[SRAMLength];
|
SRAM = new u8[SRAMLength];
|
||||||
memset(SRAM, 0, SRAMLength);
|
memset(SRAM, 0xFF, SRAMLength);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue