Replace asset load calls with loadAssetToMemory()

All assets now use FILESYSTEM_loadAssetToMemory() instead of
FILESYSTEM_loadFileToMemory().
This commit is contained in:
Misa
2021-04-05 00:54:32 -07:00
committed by Ethan Lee
parent 72ae6921ea
commit ff3cba9cee
4 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ static SDL_Surface* LoadImage(const char *filename, bool noBlend = true, bool no
unsigned char *fileIn = NULL;
size_t length = 0;
FILESYSTEM_loadFileToMemory(filename, &fileIn, &length, false);
FILESYSTEM_loadAssetToMemory(filename, &fileIn, &length, false);
if (noAlpha)
{
lodepng_decode24(&data, &width, &height, fileIn, length);