core: Partially persist emulation state across game boots.

This commit is contained in:
bunnei
2022-09-10 01:48:15 -07:00
parent 1b787adbd0
commit a4d11f4427
8 changed files with 65 additions and 58 deletions

View File

@ -120,8 +120,8 @@ void EmuThread::run() {
}
}
// Shutdown the core emulation
system.Shutdown();
// Shutdown the main emulated process
system.ShutdownMainProcess();
#if MICROPROFILE_ENABLED
MicroProfileOnThreadExit();

View File

@ -294,6 +294,7 @@ GMainWindow::GMainWindow(std::unique_ptr<Config> config_, bool has_broken_vulkan
#ifdef __linux__
SetupSigInterrupts();
#endif
system->Initialize();
Common::Log::Initialize();
LoadTranslation();