Get rid of "finish" and "setclipboardtext" messages, replace with requests.

This commit is contained in:
Henrik Rydgård committed 2023-03-22 22:17:26 +01:00
1 parent f03dc23dfa
commit 410b35fba3
13 files changed
+71 -38

No files matched your search

+2 -1
View File
@@ -28,6 +28,7 @@
#include "Common/Data/Text/I18n.h"
#include "Common/StringUtils.h"
#include "Common/System/System.h"
#include "Common/System/Request.h"
#include "Common/VR/PPSSPPVR.h"
#include "Common/UI/AsyncImageFileView.h"
@@ -392,7 +393,7 @@ UI::EventReturn GamePauseScreen::OnScreenshotClicked(UI::EventParams &e) {
UI::EventReturn GamePauseScreen::OnExitToMenu(UI::EventParams &e) {
if (g_Config.bPauseMenuExitsEmulator) {
System_SendMessage("finish", "");
System_ExitApp();
} else {
TriggerFinish(DR_OK);
}