mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
romcmp: Print error message when decompression fails
This commit is contained in:
parent
1f426c18a8
commit
2080595572
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user