mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
fix use condition
This commit is contained in:
parent
6876f9978e
commit
3565470ca6
@ -678,7 +678,7 @@ void MainWindow::InstallDragDropPkg(std::filesystem::path file, int pkgNum, int
|
|||||||
auto game_install_dir = ids.getSelectedDirectory();
|
auto game_install_dir = ids.getSelectedDirectory();
|
||||||
auto game_folder_path = game_install_dir / pkg.GetTitleID();
|
auto game_folder_path = game_install_dir / pkg.GetTitleID();
|
||||||
QString pkgType = QString::fromStdString(pkg.GetPkgFlags());
|
QString pkgType = QString::fromStdString(pkg.GetPkgFlags());
|
||||||
bool use_game_update = pkgType.contains("Patch") && Config::getSeparateUpdateEnabled();
|
bool use_game_update = pkgType.contains("PATCH") && Config::getSeparateUpdateEnabled();
|
||||||
auto game_update_path = use_game_update
|
auto game_update_path = use_game_update
|
||||||
? game_install_dir / (std::string(pkg.GetTitleID()) + "-UPDATE")
|
? game_install_dir / (std::string(pkg.GetTitleID()) + "-UPDATE")
|
||||||
: game_folder_path;
|
: game_folder_path;
|
||||||
|
Loading…
Reference in New Issue
Block a user