summaryrefslogtreecommitdiffstats
path: root/src/common/fs/fs.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-06-16 21:12:46 +0200
committerLiam <byteslice@airmail.cc>2023-06-16 22:29:06 +0200
commit734242c5bcd56dbd7fc69fb49dba5b7d5ca090bc (patch)
treeede803c6cfca7ccc0bc258e3b784766a676ff61d /src/common/fs/fs.cpp
parentMerge pull request #10801 from 8bitDream/fix_aspect (diff)
downloadyuzu-734242c5bcd56dbd7fc69fb49dba5b7d5ca090bc.tar
yuzu-734242c5bcd56dbd7fc69fb49dba5b7d5ca090bc.tar.gz
yuzu-734242c5bcd56dbd7fc69fb49dba5b7d5ca090bc.tar.bz2
yuzu-734242c5bcd56dbd7fc69fb49dba5b7d5ca090bc.tar.lz
yuzu-734242c5bcd56dbd7fc69fb49dba5b7d5ca090bc.tar.xz
yuzu-734242c5bcd56dbd7fc69fb49dba5b7d5ca090bc.tar.zst
yuzu-734242c5bcd56dbd7fc69fb49dba5b7d5ca090bc.zip
Diffstat (limited to 'src/common/fs/fs.cpp')
-rw-r--r--src/common/fs/fs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/fs/fs.cpp b/src/common/fs/fs.cpp
index 6d66c926d..1baf6d746 100644
--- a/src/common/fs/fs.cpp
+++ b/src/common/fs/fs.cpp
@@ -436,7 +436,7 @@ void IterateDirEntries(const std::filesystem::path& path, const DirEntryCallable
if (True(filter & DirEntryFilter::File) &&
entry.status().type() == fs::file_type::regular) {
- if (!callback(entry.path())) {
+ if (!callback(entry)) {
callback_error = true;
break;
}
@@ -444,7 +444,7 @@ void IterateDirEntries(const std::filesystem::path& path, const DirEntryCallable
if (True(filter & DirEntryFilter::Directory) &&
entry.status().type() == fs::file_type::directory) {
- if (!callback(entry.path())) {
+ if (!callback(entry)) {
callback_error = true;
break;
}
@@ -493,7 +493,7 @@ void IterateDirEntriesRecursively(const std::filesystem::path& path,
if (True(filter & DirEntryFilter::File) &&
entry.status().type() == fs::file_type::regular) {
- if (!callback(entry.path())) {
+ if (!callback(entry)) {
callback_error = true;
break;
}
@@ -501,7 +501,7 @@ void IterateDirEntriesRecursively(const std::filesystem::path& path,
if (True(filter & DirEntryFilter::Directory) &&
entry.status().type() == fs::file_type::directory) {
- if (!callback(entry.path())) {
+ if (!callback(entry)) {
callback_error = true;
break;
}