mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 15:32:52 +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 (Config::getGameInstallDirs().empty() && allInstallDirsDisabled &&
|
||||
if (Config::getGameInstallDirsEnabled().empty() &&
|
||||
!has_command_line_argument) {
|
||||
GameInstallDialog dlg;
|
||||
dlg.exec();
|
||||
|
Loading…
Reference in New Issue
Block a user