summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorGravatar bunnei2022-09-10 01:48:15 -0700
committerGravatar bunnei2022-10-18 19:13:35 -0700
commita4d11f4427859cbe82fc825f8493844e17bb668f (patch)
treed1844e8ad7bcfd3c9467cad75091bc207fba7103 /src/yuzu_cmd
parentcore: hle: kernel: Fix InitializePreemption order. (diff)
downloadyuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.tar.gz
yuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.tar.xz
yuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.zip
core: Partially persist emulation state across game boots.
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/yuzu.cpp4
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) {
302 } 302 }
303 303
304 Core::System system{}; 304 Core::System system{};
305 system.Initialize();
306
305 InputCommon::InputSubsystem input_subsystem{}; 307 InputCommon::InputSubsystem input_subsystem{};
306 308
307 // Apply the command line arguments 309 // Apply the command line arguments
@@ -392,7 +394,7 @@ int main(int argc, char** argv) {
392 } 394 }
393 system.DetachDebugger(); 395 system.DetachDebugger();
394 void(system.Pause()); 396 void(system.Pause());
395 system.Shutdown(); 397 system.ShutdownMainProcess();
396 398
397 detached_tasks.WaitForAllTasks(); 399 detached_tasks.WaitForAllTasks();
398 return 0; 400 return 0;