From ed41d797efc641c660247bc09d055ce8adbcbda4 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 30 Dec 2009 15:24:16 +0000 Subject: Wrapped some IHNM-specific code around appropriate ifdef's svn-id: r46749 --- engines/saga/resource.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/saga/resource.cpp') 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 ///////////////////////////////////////// -- cgit v1.2.3