diff options
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) { | |||
| 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; |