mirror of https://github.com/snes9xgit/snes9x.git
Don't close zip file when checking patches.
This commit is contained in:
parent
bb9037fe98
commit
db10ed33e1
|
@ -3829,7 +3829,6 @@ void CMemory::CheckForAnyPatch (const char *rom_filename, bool8 header, int32 &r
|
|||
else
|
||||
printf(" failed!\n");
|
||||
}
|
||||
assert(unzClose(file) == UNZ_OK);
|
||||
|
||||
port = unzFindExtension(file, "ups");
|
||||
if (port == UNZ_OK)
|
||||
|
@ -3845,7 +3844,6 @@ void CMemory::CheckForAnyPatch (const char *rom_filename, bool8 header, int32 &r
|
|||
else
|
||||
printf(" failed!\n");
|
||||
}
|
||||
assert(unzClose(file) == UNZ_OK);
|
||||
|
||||
port = unzFindExtension(file, "ips");
|
||||
while (port == UNZ_OK)
|
||||
|
|
Loading…
Reference in New Issue