diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-04-25 03:24:22 +0200 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-04-25 03:24:22 +0200 |
commit | 7ac538d5d2dd4ad44eab9f44d0b016e38ac51d0e (patch) | |
tree | e410ae58e946aeb779033eb4097c0f0880f101a6 /src | |
parent | 9b5f293a9e9f720e7b0939cf37c413481c4e156c (diff) |
better heuristic for Flash save type
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 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; } |