Handle reset

This commit is contained in:
simon.kagstrom 2009-01-24 09:55:11 +00:00
parent 7611af0e16
commit 7215eb3a07
2 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,9 @@
version 6:
TODO: Multiple frodo versions, switch between
* Handle reset button (back to menu)
* General code cleanup, e.g., simplified menu system and reduced the
amount of code for that and some other things
* Increase key delay (should hopefully avoid the LOQD problem)

View File

@ -538,6 +538,10 @@ void C64Display::PollKeyboard(uint8 *key_matrix, uint8 *rev_matrix, uint8 *joyst
break;
}
}
#if defined(GEKKO)
if (SYS_ResetButtonDown() != 0)
quit_requested = true;
#endif
}