mirror of https://github.com/snes9xgit/snes9x.git
Close zip files during patch search in release (fixes #864)
This commit is contained in:
parent
6fce8bd2ca
commit
94fbbfe0dd
|
@ -4006,7 +4006,8 @@ void CMemory::CheckForAnyPatch(const char *rom_filename, bool8 header, int32 &ro
|
||||||
if (!flag)
|
if (!flag)
|
||||||
try_zip_ips_sequence("ip%d");
|
try_zip_ips_sequence("ip%d");
|
||||||
|
|
||||||
assert(unzClose(file) == UNZ_OK);
|
int close_ret = unzClose(file);
|
||||||
|
assert(close_ret == UNZ_OK);
|
||||||
|
|
||||||
if (flag)
|
if (flag)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue