forgot to change this over

This commit is contained in:
ElBread3 2024-10-11 12:38:29 -05:00
parent 7bab3961e9
commit 0c0df20afb

View File

@ -679,9 +679,9 @@ void MainWindow::InstallDragDropPkg(std::filesystem::path file, int pkgNum, int
auto game_folder_path = game_install_dir / pkg.GetTitleID();
QString pkgType = QString::fromStdString(pkg.GetPkgFlags());
bool use_game_update = pkgType.contains("Patch") && Config::getSeparateUpdateEnabled();
auto game_update_path = use_game_update ? Config::getGameInstallDir() /
(std::string(pkg.GetTitleID()) + "-UPDATE")
: game_folder_path;
auto game_update_path = use_game_update
? game_install_dir / (std::string(pkg.GetTitleID()) + "-UPDATE")
: game_folder_path;
if (!std::filesystem::exists(game_update_path)) {
std::filesystem::create_directory(game_update_path);
}