mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 17:03:05 +00:00
SCI: Fix sound object frame selector rate
Thanks waltervn. Verified against asm (QfG2, KQ6CD)
This commit is contained in:
parent
d0cb5f51fd
commit
2b49b5f95e
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user