mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 02:14:09 +03:00
Replace asset load calls with loadAssetToMemory()
All assets now use FILESYSTEM_loadAssetToMemory() instead of FILESYSTEM_loadFileToMemory().
This commit is contained in:
@@ -33,7 +33,7 @@ SoundTrack::SoundTrack(const char* fileName)
|
||||
|
||||
unsigned char *mem;
|
||||
size_t length = 0;
|
||||
FILESYSTEM_loadFileToMemory(fileName, &mem, &length, false);
|
||||
FILESYSTEM_loadAssetToMemory(fileName, &mem, &length, false);
|
||||
if (mem == NULL)
|
||||
{
|
||||
fprintf(stderr, "Unable to load WAV file %s\n", fileName);
|
||||
|
||||
Reference in New Issue
Block a user