Merge pull request #13 from Tatsuya79/patch-1

fix roms stay unzipped
This commit is contained in:
Twinaphex 2017-09-29 17:43:55 +02:00 committed by GitHub
commit 0225ca4e24

View File

@ -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: