diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-03-06 04:27:03 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-03-08 03:17:46 +0100 |
commit | 3053a6237525ae870791eff480812016a3d4ec1e (patch) | |
tree | c746dd30ed544deee05a9a7da9f744a98a317b61 /src/core | |
parent | native_clock: Wait for 10 seconds instead of 30 (diff) | |
download | yuzu-3053a6237525ae870791eff480812016a3d4ec1e.tar yuzu-3053a6237525ae870791eff480812016a3d4ec1e.tar.gz yuzu-3053a6237525ae870791eff480812016a3d4ec1e.tar.bz2 yuzu-3053a6237525ae870791eff480812016a3d4ec1e.tar.lz yuzu-3053a6237525ae870791eff480812016a3d4ec1e.tar.xz yuzu-3053a6237525ae870791eff480812016a3d4ec1e.tar.zst yuzu-3053a6237525ae870791eff480812016a3d4ec1e.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/core_timing.cpp | 2 | ||||
-rw-r--r-- | src/core/cpu_manager.cpp | 2 |
2 files changed, 2 insertions, 2 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(); 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) { } MicroProfileOnThreadCreate(name.c_str()); Common::SetCurrentThreadName(name.c_str()); - Common::SetCurrentThreadPriority(Common::ThreadPriority::High); + Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical); auto& data = core_data[core]; data.host_context = Common::Fiber::ThreadToFiber(); |