mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
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:
1 parent
4079be9a05
commit
ec532bd420
2 files changed
+3
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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"), ""));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user