X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxmem.c;h=53edfabcad6cdd7de99ba9595c59bb2d3eef727c;hb=89b1d73d6009cbd561f00f452fc055fcb0e62c33;hp=11a01adcae6ca785f07fef1780a8f70232a896bf;hpb=04758b20151324552ada2f31460078f5c6eb01e2;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxmem.c b/libpcsxcore/psxmem.c index 11a01adc..53edfabc 100644 --- a/libpcsxcore/psxmem.c +++ b/libpcsxcore/psxmem.c @@ -23,6 +23,8 @@ // TODO: Implement caches & cycle penalty. +#include + #include "psxmem.h" #include "psxmem_map.h" #include "r3000a.h" @@ -217,7 +219,7 @@ void psxMemReset() { if (strcmp(Config.Bios, "HLE") != 0) { sprintf(bios, "%s/%s", Config.BiosDir, Config.Bios); - f = fopen(bios, "rb"); + f = fopen_utf8(bios, "rb"); if (f == NULL) { SysMessage(_("Could not open BIOS:\"%s\". Enabling HLE Bios!\n"), bios);