diff options
author | Filippos Karapetis | 2008-11-13 23:21:38 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-11-13 23:21:38 +0000 |
commit | 0f38e67f5730673d0e07b65914bb9b99a113b4ed (patch) | |
tree | 4559321ab5b877a0e7841f5a5f4a7ecf3a50b822 | |
parent | 6ccf57d789e079c0728143a8d5b7eed8464e6856 (diff) | |
download | scummvm-rg350-0f38e67f5730673d0e07b65914bb9b99a113b4ed.tar.gz scummvm-rg350-0f38e67f5730673d0e07b65914bb9b99a113b4ed.tar.bz2 scummvm-rg350-0f38e67f5730673d0e07b65914bb9b99a113b4ed.zip |
Fix for bug #2277597 - "ITE: Classic Mac alternate md5sums / Voices not detected‏"
svn-id: r35051
-rw-r--r-- | engines/saga/detection_tables.h | 2 | ||||
-rw-r--r-- | engines/saga/rscfile.cpp | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/engines/saga/detection_tables.h b/engines/saga/detection_tables.h index 9a82d513b3..99e1ff2f87 100644 --- a/engines/saga/detection_tables.h +++ b/engines/saga/detection_tables.h @@ -341,7 +341,7 @@ static const SAGAGameDescription gameDescriptions[] = { {"ite scripts.bin", GAME_SCRIPTFILE | GAME_MACBINARY, "af0d7a2588e09ad3ecbc5b474ea238bf", -1}, {"ite sounds.bin", GAME_SOUNDFILE | GAME_MACBINARY, "441426c6bb2a517f65c7e49b57f7a345", -1}, {"ite music.bin", GAME_MUSICFILE_GM | GAME_MACBINARY, "c1d20324b7cdf1650e67061b8a93251c", -1}, - {"ite voices.bin", GAME_VOICEFILE | GAME_MACBINARY, "dba92ae7d57e942250fe135609708369", -1}, + //{"ite voices.bin", GAME_VOICEFILE | GAME_MACBINARY, "dba92ae7d57e942250fe135609708369", -1}, { NULL, 0, NULL, 0} }, Common::EN_ANY, diff --git a/engines/saga/rscfile.cpp b/engines/saga/rscfile.cpp index 1c035df825..d645d178c5 100644 --- a/engines/saga/rscfile.cpp +++ b/engines/saga/rscfile.cpp @@ -461,6 +461,11 @@ bool Resource::createContexts() { // as big endian if (!_vm->isBigEndian()) voiceFileType = GAME_VOICEFILE | GAME_SWAPENDIAN; // This file is big endian + } else if (Common::File::exists("ite voices.bin")) { // MacBinary voice files + _contextsCount++; + voicesFileIndex = _contextsCount - 1; + sprintf(_voicesFileName[0], "ite voices.bin"); + voiceFileType = GAME_VOICEFILE | GAME_MACBINARY; } else { // No voice file found, don't add any file to the array voicesFileInArray = true; |