aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2021-11-21 16:12:07 +0100
committerArisotura <thetotalworm@gmail.com>2021-11-21 16:12:07 +0100
commite24a4e5e978eb6718ed6ca76c619919d94801b26 (patch)
treef9f878a553428b2483ec6e677326b7d5d31c1fa1 /src
parent333b1247d9f42bd200f43f64cbe76daad52e779d (diff)
ensure shit doesn't asplode atleast until this code is redone
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)