Handle "-patch" as the suffix for game update folders (#2674)

* Handle "-patch" as the suffix for game update folders

* clang

* clang 2
This commit is contained in:
kalaposfos13
2025-03-23 22:24:49 +01:00
committed by GitHub
parent 6f944ab117
commit 99332e4ec2
8 changed files with 39 additions and 9 deletions

View File

@@ -34,6 +34,12 @@ public:
game_update_path += "-UPDATE";
if (std::filesystem::exists(game_update_path / "sce_sys" / "param.sfo")) {
sce_folder_path = game_update_path / "sce_sys" / "param.sfo";
} else {
game_update_path = filePath;
game_update_path += "-patch";
if (std::filesystem::exists(game_update_path / "sce_sys" / "param.sfo")) {
sce_folder_path = game_update_path / "sce_sys" / "param.sfo";
}
}
PSF psf;