citra-emu
/
citra
Archived
1
0
Fork 0

Merge pull request #2374 from wwylele/whats-going-on-with-that-pr

Core: reset cpu_core in Shutdown to make IsPoweredOn work properly
This commit is contained in:
bunnei 2016-12-26 18:19:40 -05:00 committed by GitHub
commit 6409b1d1a4
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@ void System::Shutdown() {
Kernel::Shutdown(); Kernel::Shutdown();
HW::Shutdown(); HW::Shutdown();
CoreTiming::Shutdown(); CoreTiming::Shutdown();
cpu_core.reset();
LOG_DEBUG(Core, "Shutdown OK"); LOG_DEBUG(Core, "Shutdown OK");
} }