Fixed turbo behavior on movie playback (when a movie held a button and the turbo for the button was enabled, the button became released)

This commit is contained in:
gocha 2009-07-31 06:33:24 +00:00
parent 8952a9005e
commit 14fd8ae6eb
1 changed files with 1 additions and 1 deletions

View File

@ -2540,7 +2540,7 @@ static void SetTurbo(bool (&pad) [12]) {
for (int i=0; i < 12; i++) {
currentbutton=Turbo.button(i);
if(currentbutton) {
if(currentbutton && movieMode != MOVIEMODE_PLAY) {
pad[i]=turbo[TurboTime.time(i)-1];
if(TurboTime.time(i) >= (int)ARRAY_SIZE(turbo))