diff options
author | 2024-11-23 18:08:39 -0500 | |
---|---|---|
committer | 2024-11-23 18:08:39 -0500 | |
commit | 20805955724978571c8555ad38c45eade8c45d8e (patch) | |
tree | 82bea570694ec234df88c6854fb08742bc76c88f /src/tools/romcmp.cpp | |
parent | 1f426c18a859114ac56b23b6ecbd0ae5e624b215 (diff) |
romcmp: Print error message when decompression fails
Diffstat (limited to 'src/tools/romcmp.cpp')
-rw-r--r-- | src/tools/romcmp.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/romcmp.cpp b/src/tools/romcmp.cpp index 01a234b9736..e3ae03c8f5e 100644 --- a/src/tools/romcmp.cpp +++ b/src/tools/romcmp.cpp @@ -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; |