Ignore the broken 65535x.map file in the QFG4 demo, mistakenly picked up when checking for patches. Audio now works there.

svn-id: r50102
This commit is contained in:
Matthew Hoops 2010-06-20 22:30:20 +00:00
parent 7694993bef
commit 72534afea9

View File

@ -1246,6 +1246,11 @@ void ResourceManager::readResourcePatches() {
for (Common::ArchiveMemberList::const_iterator x = files.begin(); x != files.end(); ++x) { for (Common::ArchiveMemberList::const_iterator x = files.begin(); x != files.end(); ++x) {
bool bAdd = false; bool bAdd = false;
name = (*x)->getName(); name = (*x)->getName();
// HACK: Skip broken map in QFG4 Demo
if (name.equalsIgnoreCase("65535x.map"))
continue;
// SCI1 scheme // SCI1 scheme
if (isdigit(name[0])) { if (isdigit(name[0])) {
resourceNr = atoi(name.c_str()); resourceNr = atoi(name.c_str());