aboutsummaryrefslogtreecommitdiff
path: root/resource.cpp
diff options
context:
space:
mode:
authorMax Horn2002-05-12 01:58:34 +0000
committerMax Horn2002-05-12 01:58:34 +0000
commit7b8a4f59274cfe333b2fb7aa1f7ac46337c38d0b (patch)
tree6aa4463abf91c698e3d39e43e8690de626781411 /resource.cpp
parentcdc27805220328dc7c44e34cd5e55b589e1cd05e (diff)
downloadscummvm-rg350-7b8a4f59274cfe333b2fb7aa1f7ac46337c38d0b.tar.gz
scummvm-rg350-7b8a4f59274cfe333b2fb7aa1f7ac46337c38d0b.tar.bz2
scummvm-rg350-7b8a4f59274cfe333b2fb7aa1f7ac46337c38d0b.zip
make unknown sound basetags only generate a warning not an error (works around problem in MI1/Mac)
svn-id: r4284
Diffstat (limited to 'resource.cpp')
-rw-r--r--resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/resource.cpp b/resource.cpp
index e4cdf2fc6c..6a823e617c 100644
--- a/resource.cpp
+++ b/resource.cpp
@@ -671,8 +671,8 @@ int Scumm::readSoundResource(int type, int idx)
debug(1, "Ignoring base tag Mac1 in sound %d, size %d", idx, total_size);
debug(1, "It was at position %d", filePos(_fileHandle));
} else {
- error("Unrecognized base tag %c%c%c%c in sound %d",
- basetag & 0xff, basetag >> 8, basetag >> 16, basetag >> 24, idx);
+ fprintf(stderr, "WARNING: Unrecognized base tag 0x%08lx in sound %d\n",
+ basetag, idx);
}
res.roomoffs[type][idx] = 0xFFFFFFFF;
return 0;