mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-24 19:36:17 +00:00
QT: Fix PR 2662 (#2676)
This commit is contained in:
parent
99332e4ec2
commit
10bf3d383c
4 changed files with 11 additions and 6 deletions
|
@ -157,8 +157,13 @@ int main(int argc, char* argv[]) {
|
|||
}
|
||||
}
|
||||
|
||||
bool allInstallDirsDisabled =
|
||||
std::all_of(Config::getGameInstallDirsEnabled().begin(),
|
||||
Config::getGameInstallDirsEnabled().end(), [](bool val) { return !val; });
|
||||
|
||||
// If no game directory is set and no command line argument, prompt for it
|
||||
if (Config::getGameInstallDirs().empty() && !has_command_line_argument) {
|
||||
if (Config::getGameInstallDirs().empty() && allInstallDirsDisabled &&
|
||||
!has_command_line_argument) {
|
||||
GameInstallDialog dlg;
|
||||
dlg.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue