split out platform/storage
This commit is contained in:
1 parent
0bdef577f5
commit
28931d5380
82 files changed
+611
-617
No files matched your search
@@ -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