From 751cf64dd357f8059b0ed2411aa2eb14b64425cf Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Sat, 19 Jun 2021 01:39:57 +0200 Subject: [PATCH] re-established the correct order of things --- RetroFE/Source/RetroFE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RetroFE/Source/RetroFE.cpp b/RetroFE/Source/RetroFE.cpp index 10b29e4..8857a95 100755 --- a/RetroFE/Source/RetroFE.cpp +++ b/RetroFE/Source/RetroFE.cpp @@ -1192,7 +1192,7 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput( Page *page ) // ,-* ,-* ,-* // (_) (_) (_) #define KONAMI_CODE_SIZE 10 - static const int konami_code_sdl[KONAMI_CODE_SIZE]={SDLK_u,SDLK_u,SDLK_d,SDLK_d,SDLK_l,SDLK_l,SDLK_r,SDLK_r,SDLK_b,SDLK_a}; + static const int konami_code_sdl[KONAMI_CODE_SIZE]={SDLK_u,SDLK_u,SDLK_d,SDLK_d,SDLK_l,SDLK_r,SDLK_l,SDLK_r,SDLK_b,SDLK_a}; static uint8_t idx_konami_code = 0; if(e.type==SDL_KEYDOWN && e.key.keysym.sym != konami_code_sdl[idx_konami_code]) idx_konami_code=0; if(e.type==SDL_KEYDOWN && e.key.keysym.sym == konami_code_sdl[idx_konami_code]) idx_konami_code++;