mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-09-08 18:45:38 +00:00
Slightly changed how allInstallDirsDisabled is determined (#2688)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
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
Add a link
Reference in a new issue