Don't close zip file when checking patches.

This commit is contained in:
BearOso 2023-02-06 17:10:08 -06:00
parent bb9037fe98
commit db10ed33e1
1 changed files with 0 additions and 2 deletions

View File

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