mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
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:
commit
6409b1d1a4
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue