AGI: SQ2 (AppleIIGS) - frame/audio sync issues
|Reported by:||jpc-ae||Owned by:|
|Version:||Keywords:||iigs 2gs cycle|
|Cc:||Game:||Space Quest 2|
This comes in a few flavours, it seems certain code is running to hot causing sync issues. To explain:
When the ship enters the dock in the intro, certain letters show up too fast as if running at 30 cycles per second (cps), when it should be a steady 10, this may not matter so much, but is illustrative of the issue.
The clearest case is with the sweeping scene in the opening, where the audio is clearly out of sync with the sweeping when it should be. I have attached a recording of it when run using mame (which currently provides the most accurate play experience but crackles terribly). Roger here sweeps at 5 cps. In ScummVM, Roger sweeps at the correct speed, but his body is seen moving at 10 cps (also attached, sorry for the extra blackspace) with the audio out of sync.
My guess at what's happening is the audio is being triggered at twice the speed it should be, similar to how Roger's body is moving at twice the speed of his sweeping, causing sync issues. I also suspect that fixing this issue would help to address some of the other speed related issues sometimes seen on the Apple IIgs.