From 14fd8ae6eb518e35ce11bad1846716d7fc22a6c4 Mon Sep 17 00:00:00 2001 From: gocha Date: Fri, 31 Jul 2009 06:33:24 +0000 Subject: [PATCH] Fixed turbo behavior on movie playback (when a movie held a button and the turbo for the button was enabled, the button became released) --- desmume/src/NDSSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 6e6e8ffcc..4ee48a8a3 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -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))