From ce4c8860083fd0d052db2b268f404136f1f4148c Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Sun, 2 Feb 2014 10:01:48 -0700 Subject: [PATCH] Make konami_pos reset on non-sequence button --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index 4673255..0765f64 100644 --- a/main.c +++ b/main.c @@ -262,6 +262,8 @@ update_controller() } else if (konami_pos > 3) { return; } + } else { + konami_pos = 0; } // Select means subtract if (cur & BTN_SELECT) {