mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 08:20:30 +02:00
Integrate the exit reminder (you haven't saved..) in warnings from setting that require restart
Part of #21223
This commit is contained in:
1 parent
5dc169ecbe
commit
22f2e69d0a
2 files changed
+15
-1
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user