citra/src/core/hw
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
..
aes file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
gpu.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
gpu.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
hw.cpp reformat all files with clang-format 2018-06-29 16:56:12 +03:00
hw.h Update the entire application to use the new clang format style 2018-03-09 10:54:43 -07:00
lcd.cpp reformat all files with clang-format 2018-06-29 16:56:12 +03:00
lcd.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
y2r.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
y2r.h Update the entire application to use the new clang format style 2018-03-09 10:54:43 -07:00