diff options
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
| -rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 1e5377840..38ffdfbd3 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp | |||
| @@ -236,9 +236,10 @@ int main(int argc, char** argv) { | |||
| 236 | system.Renderer().Rasterizer().LoadDiskResources(); | 236 | system.Renderer().Rasterizer().LoadDiskResources(); |
| 237 | 237 | ||
| 238 | std::thread render_thread([&emu_window] { emu_window->Present(); }); | 238 | std::thread render_thread([&emu_window] { emu_window->Present(); }); |
| 239 | while (emu_window->IsOpen()) { | 239 | system.Run(); |
| 240 | //system.RunLoop(); | 240 | while (emu_window->IsOpen()) |
| 241 | } | 241 | ; |
| 242 | system.Pause(); | ||
| 242 | render_thread.join(); | 243 | render_thread.join(); |
| 243 | 244 | ||
| 244 | system.Shutdown(); | 245 | system.Shutdown(); |