summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2016-12-26 18:19:40 -0500
committerGravatar GitHub2016-12-26 18:19:40 -0500
commit6409b1d1a481e4a2639e48f791f13b8fb0141a76 (patch)
tree6ee9361fc34799b8d1d1c62485dd6f269c6ca7e6 /src/core/core.cpp
parentMerge pull request #2369 from MerryMage/core-frontend (diff)
parentCore: reset cpu_core in Shutdown to make IsPoweredOn work properly (diff)
downloadyuzu-6409b1d1a481e4a2639e48f791f13b8fb0141a76.tar.gz
yuzu-6409b1d1a481e4a2639e48f791f13b8fb0141a76.tar.xz
yuzu-6409b1d1a481e4a2639e48f791f13b8fb0141a76.zip
Merge pull request #2374 from wwylele/whats-going-on-with-that-pr
Core: reset cpu_core in Shutdown to make IsPoweredOn work properly
Diffstat (limited to 'src/core/core.cpp')
-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() {
159 Kernel::Shutdown(); 159 Kernel::Shutdown();
160 HW::Shutdown(); 160 HW::Shutdown();
161 CoreTiming::Shutdown(); 161 CoreTiming::Shutdown();
162 cpu_core.reset();
162 163
163 LOG_DEBUG(Core, "Shutdown OK"); 164 LOG_DEBUG(Core, "Shutdown OK");
164} 165}