mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Don't ask for confirmation-on-exit when running GE frame dumps
This commit is contained in:
parent
9703a57c94
commit
9ac5134c55
1 changed files with 5 additions and 0 deletions
|
@ -605,6 +605,11 @@ std::string GetConfirmExitMessage() {
|
|||
confirmMessage += nw->T("Network connected");
|
||||
confirmMessage += '\n';
|
||||
} else if (g_Config.iAskForExitConfirmationAfterSeconds > 0 && unsavedSeconds > g_Config.iAskForExitConfirmationAfterSeconds) {
|
||||
if (PSP_CoreParameter().fileType == IdentifiedFileType::PPSSPP_GE_DUMP) {
|
||||
// No need to ask for this type of confirmation for dumps.
|
||||
return confirmMessage;
|
||||
}
|
||||
|
||||
auto di = GetI18NCategory(I18NCat::DIALOG);
|
||||
confirmMessage = ApplySafeSubstitutions(di->T("You haven't saved your progress for %1."), NiceTimeFormat((int)unsavedSeconds));
|
||||
confirmMessage += '\n';
|
||||
|
|
Loading…
Add table
Reference in a new issue