diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-11-26 00:44:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 00:44:53 +0100 |
commit | 0e15c68f54ae5217e6247603b9e31757515f89e1 (patch) | |
tree | 5547698f9917260b0172298b9c2219a399063987 /src/yuzu_cmd/yuzu.cpp | |
parent | Merge pull request #4946 from ameerj/alpha-test (diff) | |
parent | Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread (diff) | |
download | yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.gz yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.bz2 yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.lz yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.xz yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.zst yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.zip |
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
-rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 14a23c71b..ba6e89249 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp @@ -242,7 +242,7 @@ int main(int argc, char** argv) { void(system.Run()); while (emu_window->IsOpen()) { - std::this_thread::sleep_for(std::chrono::milliseconds(1)); + emu_window->WaitEvent(); } void(system.Pause()); system.Shutdown(); |