azahar/src/citra
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
..
emu_window SDLJoystick: Addressed review comments 2018-09-11 14:50:41 +02:00
citra.cpp file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
citra.rc Add manifest 2017-09-02 20:08:11 -04:00
CMakeLists.txt CMakeLists: Derive the source directory grouping from targets themselves 2017-12-11 21:11:52 -05:00
config.cpp file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
config.h Citra: Convert include into forward declaration 2017-05-27 18:41:24 -07:00
default_ini.h Change variable name to web_api_url 2018-09-12 19:07:06 +02:00
resource.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00