[Scummvm-git-logs] scummvm master -> 9dc24508d058cba22bca079be845231a351fe2b4

rvanlaar roland at rolandvanlaar.nl
Fri Aug 13 21:32:54 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:
9dc24508d0 DIRECTOR: Handle sndCommand 0x8050


Commit: 9dc24508d058cba22bca079be845231a351fe2b4
    https://github.com/scummvm/scummvm/commit/9dc24508d058cba22bca079be845231a351fe2b4
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2021-08-13T23:32:38+02:00

Commit Message:
DIRECTOR: Handle sndCommand 0x8050

0x8050 seems to be handled the same as 0x8051.
Was added to allow for 'Double Click' demo movie.

Changed paths:
    engines/director/sound.cpp


diff --git a/engines/director/sound.cpp b/engines/director/sound.cpp
index 6da9b1ec3c..3f56845709 100644
--- a/engines/director/sound.cpp
+++ b/engines/director/sound.cpp
@@ -647,7 +647,7 @@ bool SNDDecoder::processCommands(Common::SeekableReadStreamEndian &stream) {
 	uint16 cmdCount = stream.readUint16();
 	for (uint16 i = 0; i < cmdCount; i++) {
 		uint16 cmd = stream.readUint16();
-		if (cmd == 0x8051) {
+		if (cmd == 0x8050 || cmd == 0x8051) {
 			if (!processBufferCommand(stream))
 				return false;
 		} else {




More information about the Scummvm-git-logs mailing list