summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2020-11-22 22:05:18 +0100
committercomex <comexk@gmail.com>2020-11-23 23:58:49 +0100
commit994f4977810749c0b597e7a7531a02d907967a68 (patch)
tree82eaf8b6dea5baf60e17601771dc8191b8e69a8f /src/yuzu_cmd/yuzu.cpp
parentMerge pull request #4451 from slashiee/extended-logging (diff)
downloadyuzu-994f4977810749c0b597e7a7531a02d907967a68.tar
yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.gz
yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.bz2
yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.lz
yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.xz
yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.zst
yuzu-994f4977810749c0b597e7a7531a02d907967a68.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_cmd/yuzu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index 3a76c785f..3c675ecb8 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -242,7 +242,7 @@ int main(int argc, char** argv) {
system.Run();
while (emu_window->IsOpen()) {
- std::this_thread::sleep_for(std::chrono::milliseconds(1));
+ emu_window->WaitEvent();
}
system.Pause();
system.Shutdown();