core: Partially persist emulation state across game boots.

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

View file

@ -302,6 +302,8 @@ int main(int argc, char** argv) {
}
Core::System system{};
system.Initialize();
InputCommon::InputSubsystem input_subsystem{};
// Apply the command line arguments
@ -392,7 +394,7 @@ int main(int argc, char** argv) {
}
system.DetachDebugger();
void(system.Pause());
system.Shutdown();
system.ShutdownMainProcess();
detached_tasks.WaitForAllTasks();
return 0;