mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-14 08:12:16 +00:00
Slightly changed how allInstallDirsDisabled is determined (#2688)
This commit is contained in:
parent
a1ec8b0a88
commit
7d0631cf26
1 changed files with 1 additions and 2 deletions
|
@ -158,8 +158,7 @@ int main(int argc, char* argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool allInstallDirsDisabled =
|
bool allInstallDirsDisabled =
|
||||||
std::all_of(Config::getGameInstallDirsEnabled().begin(),
|
std::ranges::all_of(Config::getGameInstallDirsEnabled(), [](bool val) { return !val; });
|
||||||
Config::getGameInstallDirsEnabled().end(), [](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::getGameInstallDirs().empty() && allInstallDirsDisabled &&
|
||||||
|
|
Loading…
Add table
Reference in a new issue