mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 07:52:31 +00:00
Show a dialog only if no game directories are set
This commit is contained in:
parent
5c53beb6a0
commit
d2aa912c37
@ -157,11 +157,8 @@ int main(int argc, char* argv[]) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool allInstallDirsDisabled =
|
|
||||||
std::ranges::all_of(Config::getGameInstallDirsEnabled(), [](bool val) { return !val; });
|
|
||||||
|
|
||||||
// If no game directory is set and no command line argument, prompt for it
|
// If no game directory is set and no command line argument, prompt for it
|
||||||
if (Config::getGameInstallDirs().empty() && allInstallDirsDisabled &&
|
if (Config::getGameInstallDirsEnabled().empty() &&
|
||||||
!has_command_line_argument) {
|
!has_command_line_argument) {
|
||||||
GameInstallDialog dlg;
|
GameInstallDialog dlg;
|
||||||
dlg.exec();
|
dlg.exec();
|
||||||
|
Loading…
Reference in New Issue
Block a user