menu: add reset hotkey
[picodrive.git] / platform / common / emu.c
index 0a1b59c..6a8c940 100644 (file)
@@ -1141,6 +1141,8 @@ static void run_events_ui(unsigned int which)
                emu_status_msg("SAVE SLOT %i [%s]", state_slot,\r
                        emu_check_save_file(state_slot, NULL) ? "USED" : "FREE");\r
        }\r
+       if (which & PEV_RESET)\r
+               emu_reset_game();\r
        if (which & PEV_MENU)\r
                engineState = PGS_Menu;\r
 }\r