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 cf52009..bdace7e 100644
--- a/src/NDSCart.cpp
+++ b/src/NDSCart.cpp
@@ -246,7 +246,7 @@ void Write_Discover(u8 val, bool islast)
{
Discover_MemoryType = 5;
}
- else if (len > 2+128) // Flash
+ else if ((len > 2+128) || (len > 1+16 && CurCmd == 0xA)) // Flash
{
Discover_MemoryType = 4;
}