Skip to content

Commit 751cf64

Browse files
committed
re-established the correct order of things
1 parent 0fcc268 commit 751cf64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RetroFE/Source/RetroFE.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput( Page *page )
11921192
// ,-* ,-* ,-*
11931193
// (_) (_) (_)
11941194
#define KONAMI_CODE_SIZE 10
1195-
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};
1195+
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};
11961196
static uint8_t idx_konami_code = 0;
11971197
if(e.type==SDL_KEYDOWN && e.key.keysym.sym != konami_code_sdl[idx_konami_code]) idx_konami_code=0;
11981198
if(e.type==SDL_KEYDOWN && e.key.keysym.sym == konami_code_sdl[idx_konami_code]) idx_konami_code++;

0 commit comments

Comments
 (0)