aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/scumm.cpp2
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();