aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/NDSCart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp
index c959663..726b2f8 100644
--- a/src/NDSCart.cpp
+++ b/src/NDSCart.cpp
@@ -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);
}
}