summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorGravatar Morph2023-03-05 22:27:03 -0500
committerGravatar Morph2023-03-07 21:17:46 -0500
commit3053a6237525ae870791eff480812016a3d4ec1e (patch)
treec746dd30ed544deee05a9a7da9f744a98a317b61 /src/video_core/gpu_thread.cpp
parentnative_clock: Wait for 10 seconds instead of 30 (diff)
downloadyuzu-3053a6237525ae870791eff480812016a3d4ec1e.tar.gz
yuzu-3053a6237525ae870791eff480812016a3d4ec1e.tar.xz
yuzu-3053a6237525ae870791eff480812016a3d4ec1e.zip
core: Promote CPU/GPU threads to time critical
And also demote Audren and CoreTiming to High thread priority.
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
-rw-r--r--src/video_core/gpu_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp
index 9c103c0d4..050b11874 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -25,7 +25,7 @@ static void RunThread(std::stop_token stop_token, Core::System& system,
25 SCOPE_EXIT({ MicroProfileOnThreadExit(); }); 25 SCOPE_EXIT({ MicroProfileOnThreadExit(); });
26 26
27 Common::SetCurrentThreadName(name.c_str()); 27 Common::SetCurrentThreadName(name.c_str());
28 Common::SetCurrentThreadPriority(Common::ThreadPriority::High); 28 Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical);
29 system.RegisterHostThread(); 29 system.RegisterHostThread();
30 30
31 auto current_context = context.Acquire(); 31 auto current_context = context.Acquire();