Misc fixes (#828)

* - Street demo was missing audio.

* - pause playback at end of file to avoid annoying audio buzz

* - Fixed intermittent failure to forward step.
This commit is contained in:
lodefmode 2021-09-19 12:53:30 -04:00 committed by GitHub
parent 79eb8656f6
commit 03e10caef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1061,9 +1061,9 @@ void MovieCart::updateTransport()
if(myMode == Mode::Time) if(myMode == Mode::Time)
{ {
if(myInputs.right && !myLastInputs.right) if(myInputs.right && !myLastInputs.right)
step = 1; step = 2;
else if(myInputs.left && !myLastInputs.left) else if(myInputs.left && !myLastInputs.left)
step = -3; step = -2;
else else
step = (myFrameNumber & 1) ? -1 : 1; step = (myFrameNumber & 1) ? -1 : 1;
} }
@ -1403,6 +1403,7 @@ void MovieCart::runStateMachine()
{ {
myFrameNumber -= 2; myFrameNumber -= 2;
myJoyRepeat = 0; myJoyRepeat = 0;
myPlaying = false;
} }
myForceColor = 0; myForceColor = 0;