summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/audio_core/renderer/adsp/audio_renderer.cpp2
-rw-r--r--src/core/core_timing.cpp2
-rw-r--r--src/core/cpu_manager.cpp2
-rw-r--r--src/video_core/gpu_thread.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_core/renderer/adsp/audio_renderer.cpp b/src/audio_core/renderer/adsp/audio_renderer.cpp
index 78c15629b..0e437e779 100644
--- a/src/audio_core/renderer/adsp/audio_renderer.cpp
+++ b/src/audio_core/renderer/adsp/audio_renderer.cpp
@@ -135,7 +135,7 @@ void AudioRenderer::ThreadFunc() {
135 static constexpr char name[]{"AudioRenderer"}; 135 static constexpr char name[]{"AudioRenderer"};
136 MicroProfileOnThreadCreate(name); 136 MicroProfileOnThreadCreate(name);
137 Common::SetCurrentThreadName(name); 137 Common::SetCurrentThreadName(name);
138 Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical); 138 Common::SetCurrentThreadPriority(Common::ThreadPriority::High);
139 if (mailbox->ADSPWaitMessage() != RenderMessage::AudioRenderer_InitializeOK) { 139 if (mailbox->ADSPWaitMessage() != RenderMessage::AudioRenderer_InitializeOK) {
140 LOG_ERROR(Service_Audio, 140 LOG_ERROR(Service_Audio,
141 "ADSP Audio Renderer -- Failed to receive initialize message from host!"); 141 "ADSP Audio Renderer -- Failed to receive initialize message from host!");
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) {
53 static constexpr char name[] = "HostTiming"; 53 static constexpr char name[] = "HostTiming";
54 MicroProfileOnThreadCreate(name); 54 MicroProfileOnThreadCreate(name);
55 Common::SetCurrentThreadName(name); 55 Common::SetCurrentThreadName(name);
56 Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical); 56 Common::SetCurrentThreadPriority(Common::ThreadPriority::High);
57 instance.on_thread_init(); 57 instance.on_thread_init();
58 instance.ThreadLoop(); 58 instance.ThreadLoop();
59 MicroProfileOnThreadExit(); 59 MicroProfileOnThreadExit();
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp
index 04a11f444..980bb97f9 100644
--- a/src/core/cpu_manager.cpp
+++ b/src/core/cpu_manager.cpp
@@ -192,7 +192,7 @@ void CpuManager::RunThread(std::stop_token token, std::size_t core) {
192 } 192 }
193 MicroProfileOnThreadCreate(name.c_str()); 193 MicroProfileOnThreadCreate(name.c_str());
194 Common::SetCurrentThreadName(name.c_str()); 194 Common::SetCurrentThreadName(name.c_str());
195 Common::SetCurrentThreadPriority(Common::ThreadPriority::High); 195 Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical);
196 auto& data = core_data[core]; 196 auto& data = core_data[core];
197 data.host_context = Common::Fiber::ThreadToFiber(); 197 data.host_context = Common::Fiber::ThreadToFiber();
198 198
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();