yuzu-emu
/
yuzu-mainline
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-mainline/src/yuzu/configuration
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
..
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
configure.ui Port citra #3336 - Resizes the configuration window to not be so stretched out 2018-01-18 15:22:28 -05:00
configure_debug.cpp file_util: Use an enum class for GetUserPath() 2018-07-21 16:21:19 -04:00
configure_debug.h Massive removal of unused modules 2018-01-12 19:11:03 -07:00
configure_debug.ui Add configurable logging backends 2018-07-02 21:45:47 -04:00
configure_dialog.cpp clang-format 2018-01-16 18:05:21 +00:00
configure_dialog.h Massive removal of unused modules 2018-01-12 19:11:03 -07:00
configure_general.cpp core: Add a configuration setting for use_multi_core. 2018-05-10 19:34:47 -04:00
configure_general.h Massive removal of unused modules 2018-01-12 19:11:03 -07:00
configure_general.ui core: Add a configuration setting for use_multi_core. 2018-05-10 19:34:47 -04:00
configure_graphics.cpp settings: Add a configuration for use_accurate_framebuffers. 2018-06-27 00:08:04 -04:00
configure_graphics.h Massive removal of unused modules 2018-01-12 19:11:03 -07:00
configure_graphics.ui settings: Add a configuration for use_accurate_framebuffers. 2018-06-27 00:08:04 -04:00
configure_input.cpp Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
configure_input.h Adding meumart's Citra SDL Joystick support. Citra PR #3116 2018-01-15 20:02:30 -05:00
configure_input.ui ui: Rename almost all classes in configuration_input.ui (#99) 2018-01-18 15:28:18 -05:00
configure_system.cpp Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
configure_system.h Massive removal of unused modules 2018-01-12 19:11:03 -07:00
configure_system.ui Massive removal of unused modules 2018-01-12 19:11:03 -07:00