diff options
author | Filippos Karapetis | 2009-12-30 15:24:16 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-12-30 15:24:16 +0000 |
commit | ed41d797efc641c660247bc09d055ce8adbcbda4 (patch) | |
tree | 3c909f6ce72be96084cd6acfe19bb649e836ca4d /engines | |
parent | 6305dde687a13bce1358b8fbade3a55e2301adca (diff) | |
download | scummvm-rg350-ed41d797efc641c660247bc09d055ce8adbcbda4.tar.gz scummvm-rg350-ed41d797efc641c660247bc09d055ce8adbcbda4.tar.bz2 scummvm-rg350-ed41d797efc641c660247bc09d055ce8adbcbda4.zip |
Wrapped some IHNM-specific code around appropriate ifdef's
svn-id: r46749
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/resource.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/saga/resource.cpp b/engines/saga/resource.cpp index 7ae8599a93..cf7474adc1 100644 --- a/engines/saga/resource.cpp +++ b/engines/saga/resource.cpp @@ -315,16 +315,20 @@ bool Resource::createContexts() { } if (_voicesFileName[0][0] == 0) { +#ifdef ENABLE_IHNM if (_vm->getGameId() == GID_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 _contexts.push_back(new VoiceResourceContext_RES()); } else { +#endif warning("No voice file found, voices will be disabled"); _vm->_voicesEnabled = false; _vm->_subtitlesEnabled = true; _vm->_voiceFilesExist = false; +#ifdef ENABLE_IHNM } +#endif } //// Detect and add music files ///////////////////////////////////////// |