mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Use PHYSFS_readBytes instead of deprecated PHYSFS_read
This commit is contained in:
@@ -124,7 +124,7 @@ void FILESYSTEM_loadFileToMemory(const char *name, unsigned char **mem, size_t *
|
||||
*len = length;
|
||||
}
|
||||
*mem = (unsigned char*) malloc(length);
|
||||
PHYSFS_read(handle, *mem, 1, length);
|
||||
PHYSFS_readBytes(handle, *mem, length);
|
||||
PHYSFS_close(handle);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user