From 33a1bd3ac3954a80f85d8183eed31e67ff7e8eeb Mon Sep 17 00:00:00 2001 From: Arisotura Date: Sat, 1 May 2021 15:06:08 +0200 Subject: [PATCH] er, oops --- src/NDSCart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp index 3647a299..2b5fea09 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,