aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/rscfile.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2008-04-05 13:19:12 +0000
committerFilippos Karapetis2008-04-05 13:19:12 +0000
commit2da922081cc1feab68217941946340ca892be074 (patch)
tree353ae3c0e15d548d3505099044947a9e4c45eb12 /engines/saga/rscfile.cpp
parent99283e9e54cf6ac667133ebd482f5bed520e91dd (diff)
downloadscummvm-rg350-2da922081cc1feab68217941946340ca892be074.tar.gz
scummvm-rg350-2da922081cc1feab68217941946340ca892be074.tar.bz2
scummvm-rg350-2da922081cc1feab68217941946340ca892be074.zip
Speech is now played correctly in the Macintosh version of IHNM
svn-id: r31405
Diffstat (limited to 'engines/saga/rscfile.cpp')
-rw-r--r--engines/saga/rscfile.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/engines/saga/rscfile.cpp b/engines/saga/rscfile.cpp
index 7914b3ed3b..bd5bfdfa1d 100644
--- a/engines/saga/rscfile.cpp
+++ b/engines/saga/rscfile.cpp
@@ -505,10 +505,16 @@ bool Resource::createContexts() {
} else {
// No voice file found, don't add any file to the array
voicesFileInArray = true;
- warning("No voice file found, voices will be disabled");
- _vm->_voicesEnabled = false;
- _vm->_subtitlesEnabled = true;
- _vm->_voiceFilesExist = false;
+
+ if (_vm->getGameType() == GType_IHNM && _vm->isMacResources()) {
+ // The Macintosh version of IHNM has no voices.res, and it has all
+ // its voice files in subdirectories, so don't do anything here
+ } else {
+ warning("No voice file found, voices will be disabled");
+ _vm->_voicesEnabled = false;
+ _vm->_subtitlesEnabled = true;
+ _vm->_voiceFilesExist = false;
+ }
}
}
}