mirror of
https://github.com/libretro/beetle-lynx-libretro.git
synced 2024-11-23 08:10:55 +00:00
commit
0225ca4e24
@ -49,6 +49,9 @@ struct MDFNFILE *file_open(const char *path)
|
||||
ld = (const char*)strrchr(path, '.');
|
||||
file->ext = strdup(ld ? ld + 1 : "");
|
||||
|
||||
if (fp)
|
||||
fclose((FILE*)fp);
|
||||
|
||||
return file;
|
||||
|
||||
error:
|
||||
|
Loading…
Reference in New Issue
Block a user