mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
forgot to change this over
This commit is contained in:
parent
7bab3961e9
commit
0c0df20afb
@ -679,8 +679,8 @@ void MainWindow::InstallDragDropPkg(std::filesystem::path file, int pkgNum, int
|
|||||||
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 ? Config::getGameInstallDir() /
|
auto game_update_path = use_game_update
|
||||||
(std::string(pkg.GetTitleID()) + "-UPDATE")
|
? game_install_dir / (std::string(pkg.GetTitleID()) + "-UPDATE")
|
||||||
: game_folder_path;
|
: game_folder_path;
|
||||||
if (!std::filesystem::exists(game_update_path)) {
|
if (!std::filesystem::exists(game_update_path)) {
|
||||||
std::filesystem::create_directory(game_update_path);
|
std::filesystem::create_directory(game_update_path);
|
||||||
|
Loading…
Reference in New Issue
Block a user