fix fds loading
This commit is contained in:
parent
3078b40cf4
commit
3db4ae6df5
|
@ -214,7 +214,7 @@ FCEUFILE * FCEU_fopen(const char *path, const char *ipsfn, char *mode, char *ext
|
||||||
FCEUFILE *fceufp;
|
FCEUFILE *fceufp;
|
||||||
void *t;
|
void *t;
|
||||||
|
|
||||||
if(strchr(mode,'r'))
|
if(ipsfn && strchr(mode,'r'))
|
||||||
ipsfile=FCEUD_UTF8fopen(ipsfn,"rb");
|
ipsfile=FCEUD_UTF8fopen(ipsfn,"rb");
|
||||||
|
|
||||||
fceufp=(FCEUFILE *)malloc(sizeof(FCEUFILE));
|
fceufp=(FCEUFILE *)malloc(sizeof(FCEUFILE));
|
||||||
|
|
Loading…
Reference in New Issue