aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2010-06-20 22:30:20 +0000
committerMatthew Hoops2010-06-20 22:30:20 +0000
commit72534afea9696316c61c2b647f87638a34c2f57e (patch)
treebcf3cb650772c39a5cb408938a335b830b38048b
parent7694993bef7a1c60e7e6413b09d54d2808bb699b (diff)
downloadscummvm-rg350-72534afea9696316c61c2b647f87638a34c2f57e.tar.gz
scummvm-rg350-72534afea9696316c61c2b647f87638a34c2f57e.tar.bz2
scummvm-rg350-72534afea9696316c61c2b647f87638a34c2f57e.zip
Ignore the broken 65535x.map file in the QFG4 demo, mistakenly picked up when checking for patches. Audio now works there.
svn-id: r50102
-rw-r--r--engines/sci/resource.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index 745cad7029..acb7d46127 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1246,6 +1246,11 @@ void ResourceManager::readResourcePatches() {
for (Common::ArchiveMemberList::const_iterator x = files.begin(); x != files.end(); ++x) {
bool bAdd = false;
name = (*x)->getName();
+
+ // HACK: Skip broken map in QFG4 Demo
+ if (name.equalsIgnoreCase("65535x.map"))
+ continue;
+
// SCI1 scheme
if (isdigit(name[0])) {
resourceNr = atoi(name.c_str());