core: Consolidate top-level system state into a singleton.

This commit is contained in:
bunnei
2016-11-04 23:14:38 -04:00
parent 7150b51130
commit a9a3bc828f
8 changed files with 167 additions and 106 deletions

View File

@@ -60,7 +60,7 @@ void EmuThread::run() {
}
// Shutdown the core emulation
System::Shutdown();
Core::System::GetInstance().Shutdown();
#if MICROPROFILE_ENABLED
MicroProfileOnThreadExit();