summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-12-27 00:19:40 +0100
committerGitHub <noreply@github.com>2016-12-27 00:19:40 +0100
commit6409b1d1a481e4a2639e48f791f13b8fb0141a76 (patch)
tree6ee9361fc34799b8d1d1c62485dd6f269c6ca7e6 /src/core
parentMerge pull request #2369 from MerryMage/core-frontend (diff)
parentCore: reset cpu_core in Shutdown to make IsPoweredOn work properly (diff)
downloadyuzu-6409b1d1a481e4a2639e48f791f13b8fb0141a76.tar
yuzu-6409b1d1a481e4a2639e48f791f13b8fb0141a76.tar.gz
yuzu-6409b1d1a481e4a2639e48f791f13b8fb0141a76.tar.bz2
yuzu-6409b1d1a481e4a2639e48f791f13b8fb0141a76.tar.lz
yuzu-6409b1d1a481e4a2639e48f791f13b8fb0141a76.tar.xz
yuzu-6409b1d1a481e4a2639e48f791f13b8fb0141a76.tar.zst
yuzu-6409b1d1a481e4a2639e48f791f13b8fb0141a76.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index ee5237096..202cd332b 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -159,6 +159,7 @@ void System::Shutdown() {
Kernel::Shutdown();
HW::Shutdown();
CoreTiming::Shutdown();
+ cpu_core.reset();
LOG_DEBUG(Core, "Shutdown OK");
}