Add mechanism to run any closure on the main thread

This commit is contained in:
Henrik Rydgård committed 2025-03-03 13:59:39 +01:00
1 parent 57e114650b
commit d6d1b5bbdc
6 files changed
+37 -19

No files matched your search

+1 -3
View File
@@ -497,9 +497,7 @@ namespace MainWindow {
break;
case ID_EMULATION_PAUSE:
if (!NetworkWarnUserIfOnlineAndCantSpeed()) {
System_PostUIMessage(UIMessage::REQUEST_GAME_PAUSE);
}
System_PostUIMessage(UIMessage::REQUEST_GAME_PAUSE);
break;
case ID_EMULATION_STOP: