From b8a93be2c752c7735647108c5fb11940ff2560a7 Mon Sep 17 00:00:00 2001 From: Nekokabu Date: Wed, 11 Mar 2015 01:58:02 +0900 Subject: [PATCH] Fixed initial value to 0xFF. --- Source/Project64/N64 System/Mips/Eeprom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64/N64 System/Mips/Eeprom.cpp b/Source/Project64/N64 System/Mips/Eeprom.cpp index c338c2fdb..3d157a89e 100644 --- a/Source/Project64/N64 System/Mips/Eeprom.cpp +++ b/Source/Project64/N64 System/Mips/Eeprom.cpp @@ -112,7 +112,7 @@ void CEeprom::LoadEeprom (void) { CPath FileName; DWORD dwRead; - memset(m_EEPROM,0,sizeof(m_EEPROM)); + memset(m_EEPROM,0xFF,sizeof(m_EEPROM)); FileName.SetDriveDirectory( g_Settings->LoadString(Directory_NativeSave).c_str()); FileName.SetName(g_Settings->LoadString(Game_GameName).c_str());