summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-11-27 11:07:08 +0100
committerLioncash <mathew1800@gmail.com>2019-11-27 11:11:02 +0100
commita3149536e2b8811595d39a9bec522f2d225406cb (patch)
treebd6e8e5e219731e6f664500b6d7f0a850e96d586 /src/core
parentMerge pull request #3164 from ReinUsesLisp/half-cast-float (diff)
downloadyuzu-a3149536e2b8811595d39a9bec522f2d225406cb.tar
yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.tar.gz
yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.tar.bz2
yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.tar.lz
yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.tar.xz
yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.tar.zst
yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/file_sys/directory.h2
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/file_sys/directory.h b/src/core/file_sys/directory.h
index 7b5c509fb..0d73eecc9 100644
--- a/src/core/file_sys/directory.h
+++ b/src/core/file_sys/directory.h
@@ -15,7 +15,7 @@
namespace FileSys {
-enum EntryType : u8 {
+enum class EntryType : u8 {
Directory = 0,
File = 1,
};
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index 5874ed6bd..ea9cc901e 100644
--- a/src/core/hle/service/filesystem/fsp_srv.cpp
+++ b/src/core/hle/service/filesystem/fsp_srv.cpp
@@ -256,8 +256,8 @@ public:
// TODO(DarkLordZach): Verify that this is the correct behavior.
// Build entry index now to save time later.
- BuildEntryIndex(entries, backend->GetFiles(), FileSys::File);
- BuildEntryIndex(entries, backend->GetSubdirectories(), FileSys::Directory);
+ BuildEntryIndex(entries, backend->GetFiles(), FileSys::EntryType::File);
+ BuildEntryIndex(entries, backend->GetSubdirectories(), FileSys::EntryType::Directory);
}
private: