Make konami_pos reset on non-sequence button

This commit is contained in:
Neale Pickett 2014-02-02 10:01:48 -07:00
parent 994bbcb228
commit ce4c886008
1 changed files with 2 additions and 0 deletions

2
main.c
View File

@ -262,6 +262,8 @@ update_controller()
} else if (konami_pos > 3) { } else if (konami_pos > 3) {
return; return;
} }
} else {
konami_pos = 0;
} }
// Select means subtract // Select means subtract
if (cur & BTN_SELECT) { if (cur & BTN_SELECT) {