mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-05-30 05:46:02 +00:00
More changes
Remove include stdafx.h from the .h files. Replace malloc with mi_malloc and free with mi_free Move MiniAudio and Zlib to Libs folder
This commit is contained in:
@@ -124,7 +124,7 @@ ConsoleSaveFileOriginal::ConsoleSaveFileOriginal(const wstring &fileName, LPVOID
|
||||
unsigned int storageLength;
|
||||
#ifdef __PSVITA__
|
||||
// create a buffer to hold the compressed data
|
||||
pvSaveData = malloc(fileSize);
|
||||
pvSaveData = mi_malloc(fileSize);
|
||||
AllocData = true;
|
||||
StorageManager.GetSaveData( pvSaveData, &storageLength );
|
||||
#else
|
||||
@@ -145,7 +145,7 @@ ConsoleSaveFileOriginal::ConsoleSaveFileOriginal(const wstring &fileName, LPVOID
|
||||
if( AllocData )
|
||||
{
|
||||
// free the compressed data buffer if required
|
||||
free( pvSaveData );
|
||||
mi_free( pvSaveData );
|
||||
}
|
||||
else if(bLevelGenBaseSave)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user