diff options
author | Willem Jan Palenstijn | 2015-02-15 14:14:46 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-02-15 14:14:46 +0100 |
commit | 2b49b5f95e8d6bd5ea3ab8ffb20ebad2ae7fc95e (patch) | |
tree | a3e7600e83501cf3c03e938aa25e82fc2e81c5e2 /engines/sci | |
parent | d0cb5f51fddcd74461914fb28ef4fbd685833eae (diff) | |
download | scummvm-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.cpp | 2 |
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); } } |