diff options
Diffstat (limited to 'src/yuzu_cmd')
| -rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 5 | ||||
| -rw-r--r-- | src/yuzu_cmd/yuzu.rc | 2 | 
2 files changed, 5 insertions, 2 deletions
| diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 4d2ea7e9e..e6c6a839d 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp @@ -2,6 +2,7 @@  // Licensed under GPLv2 or any later version  // Refer to the license.txt file included. +#include <chrono>  #include <iostream>  #include <memory>  #include <string> @@ -236,9 +237,11 @@ int main(int argc, char** argv) {      system.Renderer().Rasterizer().LoadDiskResources();      std::thread render_thread([&emu_window] { emu_window->Present(); }); +    system.Run();      while (emu_window->IsOpen()) { -        system.RunLoop(); +        std::this_thread::sleep_for(std::chrono::milliseconds(1));      } +    system.Pause();      render_thread.join();      system.Shutdown(); diff --git a/src/yuzu_cmd/yuzu.rc b/src/yuzu_cmd/yuzu.rc index 7de8ef3d9..0cde75e2f 100644 --- a/src/yuzu_cmd/yuzu.rc +++ b/src/yuzu_cmd/yuzu.rc @@ -14,4 +14,4 @@ YUZU_ICON               ICON                    "../../dist/yuzu.ico"  // RT_MANIFEST  // -1                       RT_MANIFEST             "../../dist/yuzu.manifest" +0                       RT_MANIFEST             "../../dist/yuzu.manifest" | 
