aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2021-05-01 15:06:08 +0200
committerArisotura <thetotalworm@gmail.com>2021-05-01 15:06:08 +0200
commit33a1bd3ac3954a80f85d8183eed31e67ff7e8eeb (patch)
tree34b1379c2718d37038f53cbc6fe67228453814eb /src
parentf219318292b1285f249859f4921dffa0b12f157e (diff)
er, oops
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 3647a29..2b5fea0 100644
--- a/src/NDSCart.cpp
+++ b/src/NDSCart.cpp
@@ -439,7 +439,7 @@ void CartRetail::LoadSave(const char* path, u32 type)
strncpy(SRAMPath, path, 1023);
SRAMPath[1023] = '\0';
- if (type > 9) type = 0;
+ if (type > 10) type = 0;
int sramlen[] =
{
0,