diff options
| author | 2016-12-26 18:19:40 -0500 | |
|---|---|---|
| committer | 2016-12-26 18:19:40 -0500 | |
| commit | 6409b1d1a481e4a2639e48f791f13b8fb0141a76 (patch) | |
| tree | 6ee9361fc34799b8d1d1c62485dd6f269c6ca7e6 /src/core/core.cpp | |
| parent | Merge pull request #2369 from MerryMage/core-frontend (diff) | |
| parent | Core: reset cpu_core in Shutdown to make IsPoweredOn work properly (diff) | |
| download | yuzu-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.cpp | 1 |
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 | } |