diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/file_sys/directory.h | 2 | ||||
| -rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 4 |
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 @@ | |||
| 15 | 15 | ||
| 16 | namespace FileSys { | 16 | namespace FileSys { |
| 17 | 17 | ||
| 18 | enum EntryType : u8 { | 18 | enum class EntryType : u8 { |
| 19 | Directory = 0, | 19 | Directory = 0, |
| 20 | File = 1, | 20 | File = 1, |
| 21 | }; | 21 | }; |
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: | |||
| 256 | 256 | ||
| 257 | // TODO(DarkLordZach): Verify that this is the correct behavior. | 257 | // TODO(DarkLordZach): Verify that this is the correct behavior. |
| 258 | // Build entry index now to save time later. | 258 | // Build entry index now to save time later. |
| 259 | BuildEntryIndex(entries, backend->GetFiles(), FileSys::File); | 259 | BuildEntryIndex(entries, backend->GetFiles(), FileSys::EntryType::File); |
| 260 | BuildEntryIndex(entries, backend->GetSubdirectories(), FileSys::Directory); | 260 | BuildEntryIndex(entries, backend->GetSubdirectories(), FileSys::EntryType::Directory); |
| 261 | } | 261 | } |
| 262 | 262 | ||
| 263 | private: | 263 | private: |