diff options
author | Eugene Sandulenko | 2005-06-19 18:16:27 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-06-19 18:16:27 +0000 |
commit | 1844a9c5449108537b5ec19bf618b17420d995aa (patch) | |
tree | df0732c6bc07ff2b8b06ab72ca0b50598e31f5ce /scumm/resource.cpp | |
parent | 97337c46238d3e6ebd2a792d03bd6990c5775d03 (diff) | |
download | scummvm-rg350-1844a9c5449108537b5ec19bf618b17420d995aa.tar.gz scummvm-rg350-1844a9c5449108537b5ec19bf618b17420d995aa.tar.bz2 scummvm-rg350-1844a9c5449108537b5ec19bf618b17420d995aa.zip |
Fix C64 targets. Regression.
svn-id: r18411
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r-- | scumm/resource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index e8c22d6124..b79b575d37 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -139,7 +139,7 @@ void ScummEngine::openRoom(const int room) { } // If we have substitute - if (_substResFileNameIndex > 0 && !(_platform == Common::kPlatformNES)) { + if (_substResFileNameIndex > 0 && !(_platform == Common::kPlatformNES || _platform == Common::kPlatformC64)) { char tmpBuf[128]; generateSubstResFileName(buf, tmpBuf, sizeof(tmpBuf)); @@ -230,7 +230,7 @@ bool ScummEngine::openFile(BaseScummFile &file, const char *filename) { file.close(); file.open(_containerFile.c_str()); assert(file.isOpen()); - + result = file.openSubFile(filename); } |