diff options
author | Eugene Sandulenko | 2005-04-09 02:44:37 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-04-09 02:44:37 +0000 |
commit | 6aa5087ab0af2417e24c53b2b6a8663d62f5edc4 (patch) | |
tree | 3e8176015fd80476f8722218468dde99e8b9f707 | |
parent | 24c92d00919500a725a6d4c4797b48088b56431f (diff) | |
download | scummvm-rg350-6aa5087ab0af2417e24c53b2b6a8663d62f5edc4.tar.gz scummvm-rg350-6aa5087ab0af2417e24c53b2b6a8663d62f5edc4.tar.bz2 scummvm-rg350-6aa5087ab0af2417e24c53b2b6a8663d62f5edc4.zip |
I really need _substResFileNameIndex passed into ScummEngine constructor.
Put a workaround now.
svn-id: r17464
-rw-r--r-- | scumm/scumm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index ff617c1a61..43adf669d2 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -664,7 +664,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS // We read data directly from NES ROM instead of extracting it with // external tool - if ((_features & GF_NES) && _substResFileNameIndex) + if ((_features & GF_NES) && (_substResFileNameIndex || gs.detectFilename)) _fileHandle = new ScummNESFile(); else _fileHandle = new ScummFile(); |