Skip to content

Commit

Permalink
hotfix: check for the file, not the folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ElBread3 committed Sep 24, 2024
1 parent f36c94e commit fb57ae8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qt_gui/game_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class GameInfoClass : public QObject {
game.path = filePath;
std::filesystem::path sce_folder_path =
std::filesystem::path(filePath) / "sce_sys" / "param.sfo";
if (std::filesystem::exists(filePath + "-UPDATE")) {
if (std::filesystem::exists(std::filesystem::path(filePath + "-UPDATE") / "sce_sys" /
"param.sfo")) {
sce_folder_path = std::filesystem::path(filePath + "-UPDATE") / "sce_sys" / "param.sfo";
}

Expand Down

0 comments on commit fb57ae8

Please sign in to comment.