Skip to content

Commit

Permalink
forgot to change this over
Browse files Browse the repository at this point in the history
  • Loading branch information
ElBread3 committed Oct 11, 2024
1 parent 8ac2d30 commit 6990cca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qt_gui/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6990cca

Please sign in to comment.