Implement resetting from a popup menu on the pause menu.

This commit is contained in:
Henrik Rydgård
2025-03-28 14:31:01 +01:00
parent 7314a65cc5
commit 116f8cf3af
10 changed files with 81 additions and 37 deletions
+4 -2
View File
@@ -513,7 +513,9 @@ namespace MainWindow {
break;
case ID_EMULATION_RESET:
System_PostUIMessage(UIMessage::REQUEST_GAME_RESET);
if (MainWindow::ConfirmAction(hWnd, true)) {
System_PostUIMessage(UIMessage::REQUEST_GAME_RESET);
}
break;
case ID_EMULATION_SWITCH_UMD:
@@ -756,7 +758,7 @@ namespace MainWindow {
case ID_OPTIONS_FRAMESKIPTYPE_PRCNT: setFrameSkippingType(FRAMESKIPTYPE_PRCNT); break;
case ID_FILE_EXIT:
if (MainWindow::ConfirmExit(hWnd)) {
if (MainWindow::ConfirmAction(hWnd, false)) {
DestroyWindow(hWnd);
}
break;