yuzu/src
Lioncash d66b43dadf 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-07-21 16:21:19 -04:00
..
common file_util: Use an enum class for GetUserPath() 2018-07-21 16:21:19 -04:00
core file_util: Use an enum class for GetUserPath() 2018-07-21 16:21:19 -04:00
input_common Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
tests arm_test_common: Get rid of truncation warnings 2018-07-20 17:53:53 -04:00
video_core Merge pull request #747 from lioncash/unimplemented 2018-07-21 10:54:58 -07:00
yuzu file_util: Use an enum class for GetUserPath() 2018-07-21 16:21:19 -04:00
yuzu_cmd file_util: Use an enum class for GetUserPath() 2018-07-21 16:21:19 -04:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt Massive removal of unused modules 2018-01-12 19:11:03 -07:00