aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2015-02-15 14:14:46 +0100
committerWillem Jan Palenstijn2015-02-15 14:14:46 +0100
commit2b49b5f95e8d6bd5ea3ab8ffb20ebad2ae7fc95e (patch)
treea3e7600e83501cf3c03e938aa25e82fc2e81c5e2 /engines/sci
parentd0cb5f51fddcd74461914fb28ef4fbd685833eae (diff)
downloadscummvm-rg350-2b49b5f95e8d6bd5ea3ab8ffb20ebad2ae7fc95e.tar.gz
scummvm-rg350-2b49b5f95e8d6bd5ea3ab8ffb20ebad2ae7fc95e.tar.bz2
scummvm-rg350-2b49b5f95e8d6bd5ea3ab8ffb20ebad2ae7fc95e.zip
SCI: Fix sound object frame selector rate
Thanks waltervn. Verified against asm (QfG2, KQ6CD)
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sound/soundcmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index 682c88f382..64991cbf5c 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -550,7 +550,7 @@ void SoundCommandParser::processUpdateCues(reg_t obj) {
if (_soundVersion >= SCI_VERSION_1_EARLY) {
writeSelectorValue(_segMan, obj, SELECTOR(min), musicSlot->ticker / 3600);
writeSelectorValue(_segMan, obj, SELECTOR(sec), musicSlot->ticker % 3600 / 60);
- writeSelectorValue(_segMan, obj, SELECTOR(frame), musicSlot->ticker);
+ writeSelectorValue(_segMan, obj, SELECTOR(frame), musicSlot->ticker % 60 / 2);
}
}