mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
Prioritize loading for threading priorities.
This commit is contained in:
parent
2f6e1c88d6
commit
1b5be0dfcd
1 changed files with 3 additions and 3 deletions
|
|
@ -5084,10 +5084,10 @@ static void PipelineCompilerThread()
|
|||
int newThreadPriority = threadPriority;
|
||||
|
||||
bool loading = *reinterpret_cast<bool*>(g_memory.Translate(0x83367A4C));
|
||||
if (queueItem.precompiledPipeline)
|
||||
newThreadPriority = THREAD_PRIORITY_IDLE;
|
||||
else if (loading)
|
||||
if (loading)
|
||||
newThreadPriority = THREAD_PRIORITY_HIGHEST;
|
||||
else if (queueItem.precompiledPipeline)
|
||||
newThreadPriority = THREAD_PRIORITY_IDLE;
|
||||
else
|
||||
newThreadPriority = THREAD_PRIORITY_LOWEST;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue