Skip to content

Commit

Permalink
Only read Xbox save files which are valid GVAS
Browse files Browse the repository at this point in the history
  • Loading branch information
tylercamp committed Jan 26, 2025
1 parent 3287802 commit 89ecb5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PalCalc.SaveReader/ISavesLocation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ public static List<XboxSavesLocation> FindAll()
// all of the files are stored in their own folders, where the "real" file name is always just "Data"
if (saveFile.Name != "Data") continue;

if (!CompressedSAV.IsValidSave(saveFile.Path)) continue;

collectedSaveFiles.Add(new XboxSaveFile() { FilePath = saveFile.Path, FileName = saveFileFolder.Name });
}
}
Expand Down

0 comments on commit 89ecb5e

Please sign in to comment.