diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-25 15:30:23 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 17:35:07 +0200 |
commit | 9e4b9f1afdb93bab7640e9d04cc2e28b9c48a288 (patch) | |
tree | ae85a887e1f4d60ba4fe26213448c91714b4f378 /src/yuzu_cmd | |
parent | General: Recover Prometheus project from harddrive failure (diff) | |
download | yuzu-9e4b9f1afdb93bab7640e9d04cc2e28b9c48a288.tar yuzu-9e4b9f1afdb93bab7640e9d04cc2e28b9c48a288.tar.gz yuzu-9e4b9f1afdb93bab7640e9d04cc2e28b9c48a288.tar.bz2 yuzu-9e4b9f1afdb93bab7640e9d04cc2e28b9c48a288.tar.lz yuzu-9e4b9f1afdb93bab7640e9d04cc2e28b9c48a288.tar.xz yuzu-9e4b9f1afdb93bab7640e9d04cc2e28b9c48a288.tar.zst yuzu-9e4b9f1afdb93bab7640e9d04cc2e28b9c48a288.zip |
Diffstat (limited to '')
-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) { system.Renderer().Rasterizer().LoadDiskResources(); std::thread render_thread([&emu_window] { emu_window->Present(); }); - while (emu_window->IsOpen()) { - //system.RunLoop(); - } + system.Run(); + while (emu_window->IsOpen()) + ; + system.Pause(); render_thread.join(); system.Shutdown(); |