split out platform/storage

This commit is contained in:
Tropical
2026-04-07 14:43:07 -05:00
parent 0bdef577f5
commit 28931d5380
82 changed files with 611 additions and 617 deletions

View File

@@ -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);