citra/src/core/hle/service/fs
Lioncash b3221c3180 file_util: Use an enum class for GetUserPath()
Instead of using an unsigned int as a parameter and expecting a user to
always pass in the correct values, we can just convert the enum into an
enum class and use that type as the parameter type instead, which makes
the interface more type safe.

We also get rid of the bookkeeping "NUM_" element in the enum by just
using an unordered map. This function is generally low-frequency in
terms of calls (and I'd hope so, considering otherwise would mean we're
slamming the disk with IO all the time) so I'd consider this acceptable
in this case.
2018-09-22 21:18:56 +02:00
..
archive.cpp file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
archive.h FS: convert to service framework 2018-02-15 23:02:09 +02:00
fs_user.cpp service/fs: implement obsoleted Create/DeleteExtSaveData (#3948) 2018-07-17 17:59:42 +03:00
fs_user.h service/fs: implement obsoleted Create/DeleteExtSaveData (#3948) 2018-07-17 17:59:42 +03:00