diff options
author | StapleButter <thetotalworm@gmail.com> | 2018-12-30 20:57:20 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2018-12-30 20:57:20 +0100 |
commit | 0f0e04bfa3b26cf12bf2f07d0982144893a9aee3 (patch) | |
tree | 7b59d67738a6b5519a4a0dc2b8f6458260378679 /src | |
parent | 52d783e06628b5f832a25dfeee28709d3627db58 (diff) |
init savemem to 0xFF instead of 0x00.
Diffstat (limited to 'src')
-rw-r--r-- | src/NDSCart.cpp | 2 |
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); } } |