mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
don't guarantee the overwrite game condition
This commit is contained in:
parent
ba7c9137ad
commit
3c99d08528
@ -682,9 +682,6 @@ void MainWindow::InstallDragDropPkg(std::filesystem::path file, int pkgNum, int
|
|||||||
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;
|
||||||
if (!std::filesystem::exists(game_update_path)) {
|
|
||||||
std::filesystem::create_directory(game_update_path);
|
|
||||||
}
|
|
||||||
QString gameDirPath;
|
QString gameDirPath;
|
||||||
Common::FS::PathToQString(gameDirPath, game_folder_path);
|
Common::FS::PathToQString(gameDirPath, game_folder_path);
|
||||||
QDir game_dir(gameDirPath);
|
QDir game_dir(gameDirPath);
|
||||||
|
Loading…
Reference in New Issue
Block a user