X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxmem.c;h=70de76b71e7fa1b0f9dd714a6aa4f89451847f5c;hb=9fb3178968e3cf83b9c0835aa4b39805b2ba6cf8;hp=53edfabcad6cdd7de99ba9595c59bb2d3eef727c;hpb=4ee722a52cb0fb56260ccd3962537e5c772800e0;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxmem.c b/libpcsxcore/psxmem.c index 53edfabc..70de76b7 100644 --- a/libpcsxcore/psxmem.c +++ b/libpcsxcore/psxmem.c @@ -23,8 +23,6 @@ // TODO: Implement caches & cycle penalty. -#include - #include "psxmem.h" #include "psxmem_map.h" #include "r3000a.h" @@ -33,6 +31,10 @@ #include "memmap.h" +#ifdef USE_LIBRETRO_VFS +#include +#endif + #ifndef MAP_ANONYMOUS #define MAP_ANONYMOUS MAP_ANON #endif @@ -219,7 +221,7 @@ void psxMemReset() { if (strcmp(Config.Bios, "HLE") != 0) { sprintf(bios, "%s/%s", Config.BiosDir, Config.Bios); - f = fopen_utf8(bios, "rb"); + f = fopen(bios, "rb"); if (f == NULL) { SysMessage(_("Could not open BIOS:\"%s\". Enabling HLE Bios!\n"), bios);