[Scummvm-git-logs] scummvm master -> 70b4522ec45c6e2ddaf91ec45241f60e408f9bab
moralrecordings
code at moral.net.au
Fri Mar 27 11:24:52 UTC 2020
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:
70b4522ec4 DIRECTOR: Fix start offset of SND data
Commit: 70b4522ec45c6e2ddaf91ec45241f60e408f9bab
https://github.com/scummvm/scummvm/commit/70b4522ec45c6e2ddaf91ec45241f60e408f9bab
Author: Scott Percival (code at moral.net.au)
Date: 2020-03-27T19:24:17+08:00
Commit Message:
DIRECTOR: Fix start offset of SND data
Changed paths:
engines/director/sound.cpp
diff --git a/engines/director/sound.cpp b/engines/director/sound.cpp
index 8b18dec4aa..931fc3a805 100644
--- a/engines/director/sound.cpp
+++ b/engines/director/sound.cpp
@@ -170,7 +170,7 @@ bool SNDDecoder::loadStream(Common::SeekableSubReadStreamEndian &stream) {
}
_channels = stream.readUint16();
if (!(_channels == 1 || _channels == 2)) {
- warning("STUB: loadSpriteSounds: no support for old sound format");
+ warning("STUB: SNDDecoder::loadStream: no support for old sound format");
return false;
}
_rate = stream.readUint16();
@@ -191,7 +191,7 @@ bool SNDDecoder::loadStream(Common::SeekableSubReadStreamEndian &stream) {
}
uint16 bits = stream.readUint16();
// unk8
- for (uint32 i = 0; i < 0x0c; i++) {
+ for (uint32 i = 0; i < 0x0e; i++) {
stream.readByte();
}
More information about the Scummvm-git-logs
mailing list