yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0
This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
yuzu-android/src/yuzu_cmd
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
..
emu_window Port #3335 and #3373 from Citra: "Small SDL fixes" and "Print the actual error preventing SDL from working" (#637) 2018-07-12 09:26:27 -07:00
CMakeLists.txt CMakeLists: Derive the source directory grouping from targets themselves 2018-01-17 21:51:43 -05:00
config.cpp file_util: Use an enum class for GetUserPath() 2018-07-21 16:21:19 -04:00
config.h Massive removal of unused modules 2018-01-12 19:11:03 -07:00
default_ini.h settings: Turn docked mode off by default. 2018-07-17 22:52:25 -04:00
resource.h Massive removal of unused modules 2018-01-12 19:11:03 -07:00
yuzu.cpp file_util: Use an enum class for GetUserPath() 2018-07-21 16:21:19 -04:00
yuzu.rc CITRA_ICON -> YUZU_ICON 2018-03-23 16:56:59 +01:00