summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-03-02 02:07:59 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-03-05 08:36:31 +0100
commit7e353082ac79bef59d48602f9196cf804d3dfc4f (patch)
tree78e010e8e0217e29f748686c1f99e79133d49a4b /src/yuzu_cmd/yuzu.cpp
parentwall_clock: Make use of SteadyClock (diff)
downloadyuzu-7e353082ac79bef59d48602f9196cf804d3dfc4f.tar
yuzu-7e353082ac79bef59d48602f9196cf804d3dfc4f.tar.gz
yuzu-7e353082ac79bef59d48602f9196cf804d3dfc4f.tar.bz2
yuzu-7e353082ac79bef59d48602f9196cf804d3dfc4f.tar.lz
yuzu-7e353082ac79bef59d48602f9196cf804d3dfc4f.tar.xz
yuzu-7e353082ac79bef59d48602f9196cf804d3dfc4f.tar.zst
yuzu-7e353082ac79bef59d48602f9196cf804d3dfc4f.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_cmd/yuzu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index 77edd58ca..5f39ece32 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -42,6 +42,8 @@
#include <windows.h>
#include <shellapi.h>
+
+#include "common/windows/timer_resolution.h"
#endif
#undef _UNICODE
@@ -314,6 +316,8 @@ int main(int argc, char** argv) {
#ifdef _WIN32
LocalFree(argv_w);
+
+ Common::Windows::SetCurrentTimerResolutionToMaximum();
#endif
MicroProfileOnThreadCreate("EmuThread");