[Scummvm-git-logs] scummvm master -> 21afa1457aef19edddb6cd1b508a5ad795bbc40a

bluegr bluegr at gmail.com
Fri Sep 17 17:34:19 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
21afa1457a DIRECTOR: Add AIFC detection


Commit: 21afa1457aef19edddb6cd1b508a5ad795bbc40a
    https://github.com/scummvm/scummvm/commit/21afa1457aef19edddb6cd1b508a5ad795bbc40a
Author: Logan B (einstein95 at users.noreply.github.com)
Date: 2021-09-17T20:34:16+03:00

Commit Message:
DIRECTOR: Add AIFC detection

Changed paths:
    engines/director/sound.cpp


diff --git a/engines/director/sound.cpp b/engines/director/sound.cpp
index 3f56845709..519487c93a 100644
--- a/engines/director/sound.cpp
+++ b/engines/director/sound.cpp
@@ -786,7 +786,7 @@ Audio::AudioStream *AudioFileDecoder::getAudioStream(bool looping, bool forPuppe
 		magic2 == MKTAG('W', 'A', 'V', 'E')) {
 		stream = Audio::makeWAVStream(file, disposeAfterUse);
 	} else if (magic1 == MKTAG('F', 'O', 'R', 'M') &&
-				magic2 == MKTAG('A', 'I', 'F', 'F')) {
+				(magic2 == MKTAG('A', 'I', 'F', 'F') || magic2 == MKTAG('A', 'I', 'F', 'C'))) {
 		stream = Audio::makeAIFFStream(file, disposeAfterUse);
 	} else {
 		warning("Unknown file type for %s", _path.c_str());




More information about the Scummvm-git-logs mailing list