aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/citra_qt/bootmanager.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2015-01-04 01:04:17 -0200
committerGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2015-01-04 01:04:46 -0200
commitcdde76f2aadeded8997aca004d6a9d9dcb07cff9 (patch)
treed1ca3c09b48ccad17f688db8469dc18308fc49c5 /src/citra_qt/bootmanager.cpp
parentd66d1707cfed08624f5c49a9b4072a550034abb2 (diff)
Frontends: Shutdown core when emulation is stopped
Diffstat (limited to 'src/citra_qt/bootmanager.cpp')
-rw-r--r--src/citra_qt/bootmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp
index 6d08d6af..e753ea10 100644
--- a/src/citra_qt/bootmanager.cpp
+++ b/src/citra_qt/bootmanager.cpp
@@ -13,6 +13,7 @@
#include "core/core.h"
#include "core/settings.h"
+#include "core/system.h"
#include "video_core/debug_utils/debug_utils.h"
@@ -89,6 +90,8 @@ void EmuThread::Stop()
}
}
LOG_INFO(Frontend, "EmuThread stopped");
+
+ System::Shutdown();
}