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:
GabsPuNs
2026-04-13 04:31:42 -04:00
parent 6be56e5786
commit 3d5357eeb3
75 changed files with 19140 additions and 18446 deletions

View File

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