diff options
author | Morph <[email protected]> | 2023-03-05 22:27:03 -0500 |
---|---|---|
committer | Morph <[email protected]> | 2023-03-07 21:17:46 -0500 |
commit | 3053a6237525ae870791eff480812016a3d4ec1e (patch) | |
tree | c746dd30ed544deee05a9a7da9f744a98a317b61 /src/core/core_timing.cpp | |
parent | d718eab351292e3c4d168738f9cd543044c335bc (diff) | |
download | yuzu-mainline-3053a6237525ae870791eff480812016a3d4ec1e.tar.gz yuzu-mainline-3053a6237525ae870791eff480812016a3d4ec1e.zip |
core: Promote CPU/GPU threads to time critical
And also demote Audren and CoreTiming to High thread 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 742cfb996..cd4df4522 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp @@ -53,7 +53,7 @@ void CoreTiming::ThreadEntry(CoreTiming& instance) { static constexpr char name[] = "HostTiming"; MicroProfileOnThreadCreate(name); Common::SetCurrentThreadName(name); - Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical); + Common::SetCurrentThreadPriority(Common::ThreadPriority::High); instance.on_thread_init(); instance.ThreadLoop(); MicroProfileOnThreadExit(); |