diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-07-02 21:05:35 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-07-02 21:08:04 +0200 |
commit | c3fbc8d2fe2ff423d774ed3886fc8391c730f637 (patch) | |
tree | f069809e0b2c5f033b016b267705e507a970ae88 /src/yuzu/main.cpp | |
parent | Merge pull request #10949 from t895/memory-requirements (diff) | |
download | yuzu-c3fbc8d2fe2ff423d774ed3886fc8391c730f637.tar yuzu-c3fbc8d2fe2ff423d774ed3886fc8391c730f637.tar.gz yuzu-c3fbc8d2fe2ff423d774ed3886fc8391c730f637.tar.bz2 yuzu-c3fbc8d2fe2ff423d774ed3886fc8391c730f637.tar.lz yuzu-c3fbc8d2fe2ff423d774ed3886fc8391c730f637.tar.xz yuzu-c3fbc8d2fe2ff423d774ed3886fc8391c730f637.tar.zst yuzu-c3fbc8d2fe2ff423d774ed3886fc8391c730f637.zip |
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index e8418b302..fea5eb614 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -101,6 +101,7 @@ static FileSys::VirtualFile VfsDirectoryCreateFileWrapper(const FileSys::Virtual #include "common/settings.h" #include "common/telemetry.h" #include "core/core.h" +#include "core/core_timing.h" #include "core/crypto/key_manager.h" #include "core/file_sys/card_image.h" #include "core/file_sys/common_funcs.h" @@ -389,6 +390,7 @@ GMainWindow::GMainWindow(std::unique_ptr<Config> config_, bool has_broken_vulkan std::chrono::duration_cast<std::chrono::duration<f64, std::milli>>( Common::Windows::SetCurrentTimerResolutionToMaximum()) .count()); + system->CoreTiming().SetTimerResolutionNs(Common::Windows::GetCurrentTimerResolution()); #endif UpdateWindowTitle(); |