aboutsummaryrefslogtreecommitdiff
path: root/src/NDSCart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDSCart.cpp')
-rw-r--r--src/NDSCart.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp
index 386af21..1577573 100644
--- a/src/NDSCart.cpp
+++ b/src/NDSCart.cpp
@@ -193,6 +193,7 @@ void SetMemoryType()
CurCmd = prev_cmd;
delete[] Discover_Buffer;
+ Discover_Buffer = NULL;
}
void Write_Discover(u8 val, bool islast)