diff options
| author | 2021-11-27 20:31:46 +0100 | |
|---|---|---|
| committer | 2022-06-28 01:10:55 +0200 | |
| commit | a2d29412cbda3e0dc57c49c5d4c098e8ba73cbb5 (patch) | |
| tree | bebb8e6b2842cf6789a287507966362a01979694 /src/core/core_timing.cpp | |
| parent | Core: Reimplement Core Timing. (diff) | |
| download | yuzu-a2d29412cbda3e0dc57c49c5d4c098e8ba73cbb5.tar.gz yuzu-a2d29412cbda3e0dc57c49c5d4c098e8ba73cbb5.tar.xz yuzu-a2d29412cbda3e0dc57c49c5d4c098e8ba73cbb5.zip | |
Core/Common: Corrections to core timing and add critical priority.
Diffstat (limited to 'src/core/core_timing.cpp')
| -rw-r--r-- | src/core/core_timing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index 918502929..b6c295ada 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp | |||
| @@ -46,7 +46,7 @@ void CoreTiming::ThreadEntry(CoreTiming& instance) { | |||
| 46 | constexpr char name[] = "yuzu:HostTiming"; | 46 | constexpr char name[] = "yuzu:HostTiming"; |
| 47 | MicroProfileOnThreadCreate(name); | 47 | MicroProfileOnThreadCreate(name); |
| 48 | Common::SetCurrentThreadName(name); | 48 | Common::SetCurrentThreadName(name); |
| 49 | Common::SetCurrentThreadPriority(Common::ThreadPriority::VeryHigh); | 49 | Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical); |
| 50 | instance.on_thread_init(); | 50 | instance.on_thread_init(); |
| 51 | instance.ThreadLoop(); | 51 | instance.ThreadLoop(); |
| 52 | MicroProfileOnThreadExit(); | 52 | MicroProfileOnThreadExit(); |