mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
When container files are used, we don't need file name substitution anymore
svn-id: r21066
This commit is contained in:
parent
78985cc8a6
commit
cf0716734c
@ -456,6 +456,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
|
||||
generateSubstResFileName("00.LFL", tmpBuf, sizeof(tmpBuf));
|
||||
_fileHandle = new ScummNESFile();
|
||||
_containerFile = tmpBuf;
|
||||
_substResFileName.almostGameID = 0;
|
||||
} else if ((_game.platform == Common::kPlatformC64) && _substResFileName.almostGameID) {
|
||||
const char *tmpBuf1, *tmpBuf2;
|
||||
if (_game.id == GID_MANIAC) {
|
||||
@ -469,6 +470,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
|
||||
_fileHandle = new ScummC64File(tmpBuf1, tmpBuf2, _game.id == GID_MANIAC);
|
||||
|
||||
_containerFile = tmpBuf1;
|
||||
_substResFileName.almostGameID = 0;
|
||||
} else
|
||||
_fileHandle = new ScummFile();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user