init savemem to 0xFF instead of 0x00.

This commit is contained in:
StapleButter 2018-12-30 20:57:20 +01:00
parent 52d783e066
commit 0f0e04bfa3
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ void LoadSave(const char* path, u32 type)
if (SRAMLength)
{
SRAM = new u8[SRAMLength];
memset(SRAM, 0, SRAMLength);
memset(SRAM, 0xFF, SRAMLength);
}
}