mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-06 17:11:28 +00:00
clang-format
This commit is contained in:
parent
2f337f2f3b
commit
f65d2fef9c
1 changed files with 5 additions and 3 deletions
|
@ -191,7 +191,8 @@ int PS4_SYSV_ABI sceSaveDataDirNameSearch(const OrbisSaveDataDirNameSearchCond*
|
||||||
if (cond->dirName == nullptr || std::string_view(cond->dirName->data).empty()) {
|
if (cond->dirName == nullptr || std::string_view(cond->dirName->data).empty()) {
|
||||||
// Look for all dirs if no dir is provided.
|
// Look for all dirs if no dir is provided.
|
||||||
for (const auto& entry : std::filesystem::directory_iterator(mount_dir)) {
|
for (const auto& entry : std::filesystem::directory_iterator(mount_dir)) {
|
||||||
if (i >= maxDirNum) break;
|
if (i >= maxDirNum)
|
||||||
|
break;
|
||||||
|
|
||||||
if (std::filesystem::is_directory(entry.path()) &&
|
if (std::filesystem::is_directory(entry.path()) &&
|
||||||
entry.path().filename().string() != "sdmemory") {
|
entry.path().filename().string() != "sdmemory") {
|
||||||
|
@ -217,7 +218,8 @@ int PS4_SYSV_ABI sceSaveDataDirNameSearch(const OrbisSaveDataDirNameSearchCond*
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const auto& entry : std::filesystem::directory_iterator(mount_dir)) {
|
for (const auto& entry : std::filesystem::directory_iterator(mount_dir)) {
|
||||||
if (i >= maxDirNum) break;
|
if (i >= maxDirNum)
|
||||||
|
break;
|
||||||
|
|
||||||
if (std::filesystem::is_directory(entry.path())) {
|
if (std::filesystem::is_directory(entry.path())) {
|
||||||
std::string dirName = entry.path().filename().string();
|
std::string dirName = entry.path().filename().string();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue