CPU SetPriority changes
Add SetProcessor for WINDOWS64
Fix Sheep color (jeb_)
More const to constexpr
This commit is contained in:
GabsPuNs
2026-04-11 04:52:43 -04:00
parent 1bd22c3bad
commit 1bc99a027d
21 changed files with 71 additions and 21 deletions

View File

@@ -65,6 +65,7 @@ void ServerLevel::staticCtor()
m_updateThread = new C4JThread(runUpdate, nullptr, "Tile update");
m_updateThread->SetProcessor(CPU_CORE_TILE_UPDATE);
m_updateThread->SetPriority(THREAD_PRIORITY_ABOVE_NORMAL); //
#ifdef __ORBIS__
m_updateThread->SetPriority(THREAD_PRIORITY_BELOW_NORMAL); // On Orbis, this core is also used for Matching 2, and that priority of that seems to be always at default no matter what we set it to. Prioritise this below Matching 2.
#endif