summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/romcmp.cpp
diff options
context:
space:
mode:
author AJR <ariedlmayer@gmail.com>2024-11-23 18:08:39 -0500
committer AJR <ariedlmayer@gmail.com>2024-11-23 18:08:39 -0500
commit20805955724978571c8555ad38c45eade8c45d8e (patch)
tree82bea570694ec234df88c6854fb08742bc76c88f /src/tools/romcmp.cpp
parent1f426c18a859114ac56b23b6ecbd0ae5e624b215 (diff)
romcmp: Print error message when decompression fails
Diffstat (limited to 'src/tools/romcmp.cpp')
-rw-r--r--src/tools/romcmp.cpp3
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;