Commit Graph

15 Commits (26a157cd31676f419420078e7d99df90d9fbc910)

Author SHA1 Message Date
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.
7 years ago
bunnei 03c2d049d4 settings: Turn docked mode off by default. 7 years ago
James Rowe 638956aa81 Rename logging macro back to LOG_* 7 years ago
bunnei 1bbbd26563 settings: Add a configuration for use_accurate_framebuffers. 7 years ago
bunnei 9bf2a428f9 core: Add a configuration setting for use_multi_core. 7 years ago
Lioncash 3062eb52f4
frontends: Move logging macros over to new fmt-capable ones 7 years ago
bunnei 94f4009c3b config: Use simplified checkbox (from Citra) for CPU JIT. 7 years ago
bunnei 5ecf152c8e config: Rename is_docked to use_docked_mode to be consistent with other config bools. 7 years ago
bunnei 12b05c719e config: Add setting for whether the system is docked or not. 7 years ago
Valentin Vanelslande ee5f5a2c2d
yuzu_cmd: change default cpu core to dynarmic 7 years ago
James Rowe 096be16636 Format: Run the new clang format on everything 7 years ago
bunnei 95ce471774 config: Default log filter to trace. 7 years ago
James Rowe 70e65ee63a Remove settings issues in sdl and fix a few files that broke in mingw 7 years ago
James Rowe f5f28a4f67 Get yuzu sdl to start compiling 7 years ago
James Rowe ebf9a784a9 Massive removal of unused modules 7 years ago