From db10ed33e18b94e069f44d0149986ddcc8b6dfa7 Mon Sep 17 00:00:00 2001 From: BearOso Date: Mon, 6 Feb 2023 17:10:08 -0600 Subject: [PATCH] Don't close zip file when checking patches. --- memmap.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/memmap.cpp b/memmap.cpp index d6ee49a0..ef4cb1a7 100644 --- a/memmap.cpp +++ b/memmap.cpp @@ -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)