aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/DSi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DSi.cpp b/src/DSi.cpp
index 692a700..dd5d67e 100644
--- a/src/DSi.cpp
+++ b/src/DSi.cpp
@@ -826,6 +826,7 @@ void CloseDSiNAND()
{
if (DSi::SDMMCFile)
fclose(DSi::SDMMCFile);
+ DSi::SDMMCFile = nullptr;
}
void RunNDMAs(u32 cpu)