Skip to content

Commit f78a4c3

Browse files
committed
Fixed framedrop in the menu entry animation when entering the menu while in ffwd mode.
1 parent f6b6f9d commit f78a4c3

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

gambatte_sdl/builddate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define BUILDDATE "20200628-154418"
1+
#define BUILDDATE "20200628-164119"

gambatte_sdl/menu.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ void main_menu() {
265265

266266
SDL_EnableKeyRepeat(250, 83);
267267
forcemenuexit = 0;
268-
ffwdtoggle = 0;
269268

270269
menu_t *menu;
271270
menu_entry_t *menu_entry;

gambatte_sdl/src/gambatte_sdl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ bool GambatteSdl::handleEvents(BlitterWrapper &blitter) {
10781078
case SDLK_HOME: // Power button in Opendingux devices
10791079
case SDLK_END: // Power/Suspend button in RetroFW devices
10801080
if((menuout == -1) && (menuin == -1)){
1081-
//main_menu();
1081+
ffwdtoggle = 0;
10821082
main_menu_with_anim();
10831083
inputGetter.is = 0;
10841084
}

0 commit comments

Comments
 (0)