X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Femu.c;h=6a8c940b22726e2a2cfb8df81fb1025a52f5bba4;hb=9db6a54485501b56b0f2f5db4d093c38fe495bda;hp=0a1b59c015bdf617565b7ae6c62caa481ce1d742;hpb=12f89605e36fe5e901b28bf85f246faa128cbdfe;p=picodrive.git diff --git a/platform/common/emu.c b/platform/common/emu.c index 0a1b59c..6a8c940 100644 --- a/platform/common/emu.c +++ b/platform/common/emu.c @@ -1141,6 +1141,8 @@ static void run_events_ui(unsigned int which) emu_status_msg("SAVE SLOT %i [%s]", state_slot, emu_check_save_file(state_slot, NULL) ? "USED" : "FREE"); } + if (which & PEV_RESET) + emu_reset_game(); if (which & PEV_MENU) engineState = PGS_Menu; }