MemStickScreen: Count save states as existing data, warn that a move replaces files

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-11-06 16:16:29 +01:00
1 parent 4079be9a05
commit ec532bd420
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@
bool FolderSeemsToBeUsed(const Path &newMemstickFolder) {
// Inspect the potential new folder, quickly. We could add more criteria like checking for actual savegames.
const Path pspFolder = GetPSPFolderOf(newMemstickFolder);
return File::Exists(pspFolder / "SAVEDATA") || File::Exists(pspFolder / "SYSTEM");
return File::Exists(pspFolder / "SAVEDATA") || File::Exists(pspFolder / "SYSTEM") || File::Exists(pspFolder / "PPSSPP_STATE");
}
// Checked by string rather than Type(), which only says CONTENT_URI on Android, so the checks below can
+2
View File
@@ -561,6 +561,8 @@ void ConfirmMemstickMoveScreen::CreateViews() {
leftColumn->Add(new NoticeView(NoticeLevel::SUCCESS, ms->T("Already contains PSP data"), ""));
if (!moveData_) {
leftColumn->Add(new NoticeView(NoticeLevel::INFO, ms->T("No data will be changed"), ""));
} else {
leftColumn->Add(new NoticeView(NoticeLevel::WARN, ms->T("MoveReplacesFiles", "Previously existing files in the new folder will be replaced by moved files with the same names"), ""));
}
}