mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-07 13:13:24 +02:00
Implement resetting from a popup menu on the pause menu.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user