Wrap all fopen access - go through FCEUD_UTF8fopen isntead

This commit is contained in:
twinaphex
2021-06-05 21:07:55 +02:00
parent e154706586
commit 3dbf430262
3 changed files with 5 additions and 10 deletions

View File

@@ -34,12 +34,6 @@
#include "driver.h"
#include "general.h"
#include "compat/fopen_utf8.h"
#ifndef __GNUC__
#define strcasecmp strcmp
#endif
static MEMWRAP *MakeMemWrap(void *tz, int type)
{
MEMWRAP *tmp;
@@ -87,7 +81,7 @@ FCEUFILE * FCEU_fopen(const char *path, const char *ipsfn,
fceufp->fp = MakeMemWrapBuffer(buffer, bufsize);
else
{
void *t = fopen_utf8(path, mode);
void *t = FCEUD_UTF8fopen(path, mode);
if (!t)
{