Integrate the exit reminder (you haven't saved..) in warnings from setting that require restart

Part of #21223
This commit is contained in:
Henrik Rydgård committed 2026-02-24 00:56:45 +01:00
1 parent 5dc169ecbe
commit 22f2e69d0a
2 files changed
+15 -1

No files matched your search

+4
View File
@@ -782,6 +782,10 @@ int GetUnsavedProgressSeconds() {
std::string GetConfirmExitMessage() {
std::string confirmMessage;
if (!PSP_IsInited()) {
return std::string();
}
int unsavedSeconds = GetUnsavedProgressSeconds();
// If RAIntegration has dirty info, ask for confirmation.