mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-02 22:18:09 +01:00
Reapply "Minecraft.World: C4JThread: Update Threader from Portable-LCE"
This reverts commit 6300671276.
This commit is contained in:
1 parent
e10f2859f4
commit
96a2beb04b
18 files changed
+843
-1369
No files matched your search
@@ -975,7 +975,7 @@ bool MinecraftServer::loadLevel(LevelStorageSource *storageSource, const wstring
|
||||
|
||||
pSave->ConvertToLocalPlatform();
|
||||
storage = std::make_shared<McRegionLevelStorage>(pSave, File(L"."), name, true);
|
||||
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -1063,8 +1063,7 @@ bool MinecraftServer::loadLevel(LevelStorageSource *storageSource, const wstring
|
||||
m_postUpdateThread = new C4JThread(runPostUpdate, this, "Post processing", 256*1024);
|
||||
|
||||
m_postUpdateTerminate = false;
|
||||
m_postUpdateThread->SetProcessor(CPU_CORE_POST_PROCESSING);
|
||||
m_postUpdateThread->SetPriority(THREAD_PRIORITY_ABOVE_NORMAL);
|
||||
m_postUpdateThread->SetPriority(static_cast<C4JThread::ThreadPriority>(THREAD_PRIORITY_ABOVE_NORMAL));
|
||||
m_postUpdateThread->Run();
|
||||
|
||||
int64_t startTime = System::currentTimeMillis();
|
||||
|
||||
Reference in new issue
Block a user