romcmp: Print error message when decompression fails

This commit is contained in:
AJR 2024-11-23 18:08:39 -05:00
parent 1f426c18a8
commit 2080595572

View File

@ -559,7 +559,10 @@ static int load_files(int i, int *found, const char *path)
else
{
if (zip->decompress(file.buf.get(), file.size))
{
printf("%s: Decompression failed\n", file.name.c_str());
file.free();
}
}
file.listed = 0;