mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-06 22:49:26 +01:00
core: Partially persist emulation state across game boots.
This commit is contained in:
parent
1b787adbd0
commit
a4d11f4427
8 changed files with 65 additions and 58 deletions
|
|
@ -120,8 +120,8 @@ void EmuThread::run() {
|
|||
}
|
||||
}
|
||||
|
||||
// Shutdown the core emulation
|
||||
system.Shutdown();
|
||||
// Shutdown the main emulated process
|
||||
system.ShutdownMainProcess();
|
||||
|
||||
#if MICROPROFILE_ENABLED
|
||||
MicroProfileOnThreadExit();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue