mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-02 22:18:09 +01:00
platform (linux): fixup some more things
* Add KBM input, include winapi_stubs in other places (4JLibs), clean up some things
This commit is contained in:
1 parent
54e15cfb85
commit
489a9e5ad3
13 files changed
+98
-72
No files matched your search
@@ -12,7 +12,7 @@
|
||||
#include "../Minecraft.Client/Common/GameRules/LevelGenerationOptions.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.level.chunk.storage.h"
|
||||
|
||||
#if defined(MINECRAFT_SERVER_BUILD) || defined(_WINDOWS64) || defined(_DURANGO) || defined(__ORBIS__)
|
||||
#if defined(MINECRAFT_SERVER_BUILD) || defined(_WINDOWS64) || defined(_DURANGO) || defined(__ORBIS__) || defined(__linux__)
|
||||
#include <thread>
|
||||
#include <atomic>
|
||||
#include <mutex>
|
||||
@@ -1248,7 +1248,7 @@ void *ConsoleSaveFileOriginal::getWritePointer(FileEntry *file)
|
||||
return static_cast<char *>(pvSaveMem) + file->currentFilePointer;;
|
||||
}
|
||||
|
||||
#if defined(MINECRAFT_SERVER_BUILD) || defined(_WINDOWS64) || defined(_DURANGO) || defined(__ORBIS__)
|
||||
#if defined(MINECRAFT_SERVER_BUILD) || defined(_WINDOWS64) || defined(_DURANGO) || defined(__ORBIS__) || defined(__linux__)
|
||||
void ConsoleSaveFileOriginal::flushPendingBackgroundSave()
|
||||
{
|
||||
std::lock_guard<std::mutex> lk(s_bgSaveMutex);
|
||||
@@ -1268,4 +1268,4 @@ bool ConsoleSaveFileOriginal::hasPendingBackgroundSave()
|
||||
{
|
||||
return s_bgSaveActive.load(std::memory_order_acquire);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
Reference in new issue
Block a user