diff options
author | bunnei <bunneidev@gmail.com> | 2022-09-10 01:48:15 -0700 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-10-18 19:13:35 -0700 |
commit | a4d11f4427859cbe82fc825f8493844e17bb668f (patch) | |
tree | d1844e8ad7bcfd3c9467cad75091bc207fba7103 /src/yuzu_cmd/yuzu.cpp | |
parent | 1b787adbd0b58986e6efdf6d536dcc949362c108 (diff) |
core: Partially persist emulation state across game boots.
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
-rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 3a0f33cba..e16f79eb4 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp @@ -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; |