mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Update image_core.c
This commit is contained in:
parent
4604faf8d9
commit
b7eba4b28f
@ -249,7 +249,7 @@ static bool imageviewer_load(const char *path, int image_index)
|
||||
imageviewer_free_image();
|
||||
|
||||
#ifdef STB_IMAGE_IMPLEMENTATION
|
||||
f = filestream_open(path, RETRO_VFS_FILE_ACCESS_READ, 0);
|
||||
f = filestream_open(path, RETRO_VFS_FILE_ACCESS_READ, RETRO_VFS_FILE_ACCESS_HINT_NONE);
|
||||
len = filestream_get_size(f);
|
||||
buf = malloc(len);
|
||||
filestream_read(f, buf, len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user