mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Merge pull request #22320 from 4RH1T3CT0R7/fix/savedata-date-from-sfo
Savedata: use PARAM.SFO's time as the save date in the dialog
This commit is contained in:
1 file changed
+2
-2
@@ -1747,8 +1747,8 @@ PSPFileInfo SavedataParam::GetSaveInfo(const std::string &saveDir) {
|
||||
for (auto file : allFiles) {
|
||||
if (file.type == FILETYPE_DIRECTORY || file.name == "." || file.name == "..")
|
||||
continue;
|
||||
// Use a file to determine save date.
|
||||
if (firstFile) {
|
||||
// Use PARAM.SFO to determine save date, like the savedata manager does, or else the first file.
|
||||
if (firstFile || file.name == SFO_FILENAME) {
|
||||
info.ctime = file.ctime;
|
||||
info.mtime = file.mtime;
|
||||
info.atime = file.atime;
|
||||
|
||||
Reference in new issue
Block a user