mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 01:57:55 -05:00
General: Tune the priority of main emulation threads so they have higher priority than less important helper threads.
This commit is contained in:
@ -48,6 +48,7 @@ void CoreTiming::ThreadEntry(CoreTiming& instance) {
|
||||
std::string name = "yuzu:HostTiming";
|
||||
MicroProfileOnThreadCreate(name.c_str());
|
||||
Common::SetCurrentThreadName(name.c_str());
|
||||
Common::SetCurrentThreadPriority(Common::ThreadPriority::VeryHigh);
|
||||
instance.on_thread_init();
|
||||
instance.ThreadLoop();
|
||||
}
|
||||
|
Reference in New Issue
Block a user