diff options
-rw-r--r-- | engines/scumm/detection.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index fccb30b0fa..a5bba29ff9 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -434,6 +434,15 @@ static Common::Language detectLanguage(const Common::FSList &fslist, byte id) { && searchFSNode(tmpList, filename, langFile)) { tmp.open(langFile); } + // The Steam version of Dig has the LANGUAGE.BND in the DIG sub dir... + if (!tmp.isOpen() + && id == GID_DIG + && searchFSNode(fslist, "DIG", resDir) + && resDir.isDirectory() + && resDir.getChildren(tmpList, Common::FSNode::kListFilesOnly) + && searchFSNode(tmpList, filename, langFile)) { + tmp.open(langFile); + } } if (tmp.isOpen()) { uint size = tmp.size(); |