mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 09:36:21 +00:00
Fix for bug #2277597 - "ITE: Classic Mac alternate md5sums / Voices not detected"
svn-id: r35051
This commit is contained in:
parent
6ccf57d789
commit
0f38e67f57
@ -341,7 +341,7 @@ static const SAGAGameDescription gameDescriptions[] = {
|
|||||||
{"ite scripts.bin", GAME_SCRIPTFILE | GAME_MACBINARY, "af0d7a2588e09ad3ecbc5b474ea238bf", -1},
|
{"ite scripts.bin", GAME_SCRIPTFILE | GAME_MACBINARY, "af0d7a2588e09ad3ecbc5b474ea238bf", -1},
|
||||||
{"ite sounds.bin", GAME_SOUNDFILE | GAME_MACBINARY, "441426c6bb2a517f65c7e49b57f7a345", -1},
|
{"ite sounds.bin", GAME_SOUNDFILE | GAME_MACBINARY, "441426c6bb2a517f65c7e49b57f7a345", -1},
|
||||||
{"ite music.bin", GAME_MUSICFILE_GM | GAME_MACBINARY, "c1d20324b7cdf1650e67061b8a93251c", -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}
|
{ NULL, 0, NULL, 0}
|
||||||
},
|
},
|
||||||
Common::EN_ANY,
|
Common::EN_ANY,
|
||||||
|
@ -461,6 +461,11 @@ bool Resource::createContexts() {
|
|||||||
// as big endian
|
// as big endian
|
||||||
if (!_vm->isBigEndian())
|
if (!_vm->isBigEndian())
|
||||||
voiceFileType = GAME_VOICEFILE | GAME_SWAPENDIAN; // This file is big endian
|
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 {
|
} else {
|
||||||
// No voice file found, don't add any file to the array
|
// No voice file found, don't add any file to the array
|
||||||
voicesFileInArray = true;
|
voicesFileInArray = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user