t895
10eee4c0c3
android: Refactor settings to expose more options
In AbstractSetting, this removes the category, androidDefault, and valueAsString properties as they are no longer needed and have replacements. isSwitchable, global, and getValueAsString are all exposed and give better options for working with global/per-game settings.
2 years ago
lat9nq
ab0c149771
settings_setting: Read audio engine
This was mysteriously missing, likely from when I ported Citra fixes
semi-recently.
3 years ago
lat9nq
4fc1f4ec1a
settings_setting: Don't remove the AudioEngine workaround
3 years ago
lat9nq
8d8e9552aa
settings: Retro-port Citra Settings work
This has yet to be PR'd on Citra, but regressions on yuzu that have
been fixed in Citra needed to appear here.
3 years ago
Liam
3e4076c2ac
general: fix apple clang build
3 years ago
lat9nq
fc4d2cbf34
settings_setting: Fix typo
3 years ago
lat9nq
b187a3c214
common,configure_system: Rename method to GetCategory
Fixes essentially a shadowing issue.
3 years ago
lat9nq
5e52526942
settings: Cleanup
Addresses review feedback
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
3 years ago
lat9nq
7168d30a6e
settings: Give indices to enums
3 years ago
lat9nq
6dd818a105
settings_setting: Silence shadowing warnings
3 years ago
lat9nq
245c490e02
settings,configuration: Add a default suffix
3 years ago
lat9nq
4ffbd95fa5
settings: Define paired settings
settings_common: Remove unused optional
3 years ago
lat9nq
eb6fe05451
settings: Define specializations for settings
Suggests to a frontend how to represent each setting.
3 years ago
lat9nq
c2b577b364
settings_setting: Fix MSVC error
3 years ago
lat9nq
859dff4c27
common,yuzu-qt: GCC warning silences
Fixes -Wshadow, -Wdeprecated, and catch by copy rather than by ref.
3 years ago
lat9nq
8addc74f4f
settings: Document BasicSetting, add Ranged
3 years ago
lat9nq
e0d6f3435e
settings: Move some simple data to BasicSetting
Reduces the need for the compiler to duplicate this code, by about
100KB executable size.
3 years ago
lat9nq
9eee631154
settings_setting: Fix errors
ToString didn't have a constexpr if statement where needed.
Canonicalize missed an else, causing unreachable code error on MSVC.
3 years ago
lat9nq
5a2b7f951d
(ui,)settings: Use explicit instantiation
Reduces compile times a tad on clang.
3 years ago