aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2013-09-26 10:43:53 +0300
committerFilippos Karapetis2013-09-26 10:43:53 +0300
commita5691e8dc85bb1f7aee237529983f6fbab61c89d (patch)
tree4e1e9e94b095cf56542d1b62b8432c9482704e87 /engines
parent916fa0ce84f3ded0c542ebc62c768615865cbdf7 (diff)
downloadscummvm-rg350-a5691e8dc85bb1f7aee237529983f6fbab61c89d.tar.gz
scummvm-rg350-a5691e8dc85bb1f7aee237529983f6fbab61c89d.tar.bz2
scummvm-rg350-a5691e8dc85bb1f7aee237529983f6fbab61c89d.zip
NEVERHOOD: Expand the error thrown for broken resources in BLB archives
The Russian translated versions of Neverhood have invalid unpacked sizes for some compressed resources. This helps in identifying their resource parameters more easily
Diffstat (limited to 'engines')
-rw-r--r--engines/neverhood/blbarchive.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/neverhood/blbarchive.cpp b/engines/neverhood/blbarchive.cpp
index d730d75718..c743037e63 100644
--- a/engines/neverhood/blbarchive.cpp
+++ b/engines/neverhood/blbarchive.cpp
@@ -131,7 +131,8 @@ void BlbArchive::load(BlbArchiveEntry *entry, byte *buffer, uint32 size) {
break;
case 3: // DCL-compressed
if (!Common::decompressDCL(&_fd, buffer, entry->diskSize, entry->size))
- error("BlbArchive::load() Error during decompression of %08X", entry->fileHash);
+ error("BlbArchive::load() Error during decompression of %08X (offset: %d, disk size: %d, size: %d)",
+ entry->fileHash, entry->offset, entry->diskSize, entry->size);
break;
default:
error("BlbArchive::load() Unknown compression type %d", entry->comprType);