From 19f903a6c59c8b34ae4e629a97b9317a3f8ab425 Mon Sep 17 00:00:00 2001 From: ElBread3 <92335081+ElBread3@users.noreply.github.com> Date: Thu, 26 Sep 2024 08:56:33 -0500 Subject: [PATCH] hotfix: check for sfo file instead of the folder --- src/qt_gui/game_info.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt_gui/game_info.h b/src/qt_gui/game_info.h index 1fa656b47..640b25e49 100644 --- a/src/qt_gui/game_info.h +++ b/src/qt_gui/game_info.h @@ -28,8 +28,8 @@ public: std::filesystem::path sce_folder_path = filePath / "sce_sys" / "param.sfo"; std::filesystem::path game_update_path = std::filesystem::path(filePath.string() + "-UPDATE"); - if (std::filesystem::exists(game_update_path)) { - sce_folder_path = (game_update_path / "sce_sys" / "param.sfo"); + if (std::filesystem::exists(game_update_path / "sce_sys" / "param.sfo")) { + sce_folder_path = game_update_path / "sce_sys" / "param.sfo"; } PSF psf;