aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2022-10-02 23:29:24 +0200
committerArisotura <thetotalworm@gmail.com>2022-10-02 23:29:24 +0200
commit571d1c403f516f62bd4ae2ea3fba52266c7e9dc3 (patch)
treee071449d4d55c79663de388b971617886cd85cb4 /src/NDS.cpp
parent62879c44840f66a9854ab3938412b97828154d7f (diff)
properly stop any started cameras upon reset/shutdown
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r--src/NDS.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index 4118836..966b252 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -693,6 +693,9 @@ void Stop()
Platform::StopEmu();
GPU::Stop();
SPU::Stop();
+
+ if (ConsoleType == 1)
+ DSi::Stop();
}
bool DoSavestate_Scheduler(Savestate* file)