feat: restart game from game over screen using START button

This commit is contained in:
2026-06-18 12:35:10 +02:00
parent eadb00d80e
commit 1bef1cd60c
+5
View File
@@ -143,6 +143,11 @@ void main(void) {
while(1) {
update_music();
wait_vbl_done();
uint8_t keys = joypad();
if ((keys & J_START) && !(main_prev_keys & J_START)) {
reset();
}
main_prev_keys = keys;
}
}