ensure shit doesn't asplode atleast until this code is redone

This commit is contained in:
Arisotura
2021-11-21 16:12:07 +01:00
parent 333b1247d9
commit e24a4e5e97

View File

@ -826,6 +826,7 @@ void CloseDSiNAND()
{ {
if (DSi::SDMMCFile) if (DSi::SDMMCFile)
fclose(DSi::SDMMCFile); fclose(DSi::SDMMCFile);
DSi::SDMMCFile = nullptr;
} }
void RunNDMAs(u32 cpu) void RunNDMAs(u32 cpu)