mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-10 04:34:54 +00:00
split out platform/storage
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#include "minecraft/world/level/storage/ConsoleSaveFileIO/ConsoleSavePath.h"
|
||||
#include "minecraft/world/level/storage/ConsoleSaveFileIO/FileHeader.h"
|
||||
#include "minecraft/world/level/storage/LevelData.h"
|
||||
#include "platform/IPlatformStorage.h"
|
||||
#include "platform/storage/storage.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
|
||||
#define RESERVE_ALLOCATION MEM_RESERVE
|
||||
@@ -587,7 +587,7 @@ void ConsoleSaveFileOriginal::Flush(bool autosave, bool updateThumbnail) {
|
||||
// 4J Stu - Added TU-1 interim
|
||||
|
||||
// Attempt to allocate the required memory
|
||||
// We do not own this, it belongs to the StorageManager
|
||||
// We do not own this, it belongs to the PlatformStorage
|
||||
std::uint8_t* compData =
|
||||
(std::uint8_t*)PlatformStorage.AllocateSaveData(compLength);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user