aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,