diff options
| author | 2019-11-27 05:07:08 -0500 | |
|---|---|---|
| committer | 2019-11-27 05:11:02 -0500 | |
| commit | a3149536e2b8811595d39a9bec522f2d225406cb (patch) | |
| tree | bd6e8e5e219731e6f664500b6d7f0a850e96d586 /src/core/hle | |
| parent | Merge pull request #3164 from ReinUsesLisp/half-cast-float (diff) | |
| download | yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.tar.gz yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.tar.xz yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.zip | |
file_sys/directory: Make EntryType an enum class
This can trivially be an enum class rather than a regular enum, making
it more strongly typed.
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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: |