ffb384463f
settings: Remove sorting from log
...
Unecessary, and would run every time the settings are logged.
2023-07-21 10:56:55 -04:00
3211623192
common: Move global configuration state modifiers back to settings
2023-07-21 10:56:55 -04:00
b02e7eea78
settings_setting: Fix typo
2023-07-21 10:56:55 -04:00
1e093767a8
common,configure_system: Rename method to GetCategory
...
Fixes essentially a shadowing issue.
2023-07-21 10:56:55 -04:00
267f3c7905
settings: Cleanup
...
Addresses review feedback
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com >
2023-07-21 10:56:55 -04:00
127b3da0f1
core,common: Give memory layout setting an enum
...
Allows for 6GB and 8GB layouts to be selected.
2023-07-21 10:56:55 -04:00
ff6a5031d5
settings: Require time zone setting value for stirng
2023-07-21 10:56:55 -04:00
e7f01128f1
settings: Give indices to enums
2023-07-21 10:56:55 -04:00
52cc7b438b
settings_common: Remove unncessary enum spec
2023-07-21 10:56:55 -04:00
8497fb0a04
settings_enums: Remove casting
...
Not sure how I missed this earlier, but these vectors can be constructed
using the type of the enum.
2023-07-21 10:56:55 -04:00
54d58130a0
settings_setting: Silence shadowing warnings
2023-07-21 10:56:55 -04:00
926f3e3d3e
settings,configuration: Add a default suffix
2023-07-21 10:56:55 -04:00
7f708e8d77
settings: Define paired settings
...
settings_common: Remove unused optional
2023-07-21 10:56:55 -04:00
b2438f1fb7
settings: Define specializations for settings
...
Suggests to a frontend how to represent each setting.
2023-07-21 10:56:55 -04:00
8b28aa45b9
settings,translation: Fix time zone enum
...
Renames enum values to conform to naming convention.
2023-07-21 10:56:55 -04:00
8366736b67
settings,opengl,yuzu-qt: Fix AA, Filter maximums
...
The new enum macros don't support setting values directly.
For LastAA and LastFilter, this means we need a simpler approach to loop
around the toggle in the frontend...
2023-07-21 10:56:55 -04:00
7ffbffe170
settings_enums: More aggressively use macros
...
This lets us define an enum and all the textual representations
of its values in one swing. All for the price of some ugly macros.
2023-07-21 10:56:55 -04:00
fdbeb84168
settings,uisettings: Remove leading underscore
2023-07-21 10:56:55 -04:00
3a7705e774
settings: Move speed_limit to core
2023-07-21 10:56:55 -04:00
3f0cc544cf
common,yuzu-qt: Avoid explicit instantiation on old clang
...
Clang versions < 15 have compile issues with explicit instantiation.
Disable it for these versions.
2023-07-21 10:56:55 -04:00
c97cbd089b
settings_setting: Fix MSVC error
2023-07-21 10:56:55 -04:00
ee32b17782
common,yuzu-qt: GCC warning silences
...
Fixes -Wshadow, -Wdeprecated, and catch by copy rather than by ref.
2023-07-21 10:56:55 -04:00
a0883526d6
settings: Delete cpu_accuracy_first_time
...
Almost a 2 year old migration setting now
2023-07-21 10:56:54 -04:00
27e53990ed
settings: Document BasicSetting, add Ranged
2023-07-21 10:56:54 -04:00
b4f2ad3ff5
settings: Move IsConfiguringGlobal to settings_common
2023-07-21 10:56:54 -04:00
11e7e1b8ce
settings: Move some simple data to BasicSetting
...
Reduces the need for the compiler to duplicate this code, by about
100KB executable size.
2023-07-21 10:56:54 -04:00
4903f40efe
settings_setting: Fix errors
...
ToString didn't have a constexpr if statement where needed.
Canonicalize missed an else, causing unreachable code error on MSVC.
2023-07-21 10:56:54 -04:00
04d4b6ab80
(ui,)settings: Use explicit instantiation
...
Reduces compile times a tad on clang.
2023-07-21 10:56:54 -04:00
02265f19d9
settings: Remove redundant false literals
2023-07-21 10:56:54 -04:00
0193add060
general: Add typeinfo where needed
...
Using typeid without including typeinfo first produces an ill-formed program.
2023-07-21 10:56:54 -04:00
2fba913d0b
settings_enums: Add const type where needed
2023-07-21 10:56:54 -04:00
b86171d2b5
settings: yuzu is not capitalized why is it capitalized stop no bad
2023-07-21 10:56:54 -04:00
163f229d26
settings: Reorder
...
Groups graphics audio and system settings together in a way that
reflects the frontend. This also just conceptually groups them more
nicely than they were.
2023-07-21 10:56:54 -04:00
78b2709373
settings: Report all contained settings values
...
Also adds a couple characters that denotes the state of the setting.
M for modified, or not default.
C for custom, in context of per-game settings.
2023-07-21 10:56:54 -04:00
8c17a945f7
settings_enums: Cannonicalize settings names
...
Gives every option of the enums a string literal via a macro.
2023-07-21 10:56:54 -04:00
d146dd9d12
settings,general: Rename non-confirming enums
2023-07-21 10:56:54 -04:00
3281ea935f
settings: Make volume runtime-configurable
2023-07-21 10:56:07 -04:00
432f68ad29
configure_audio: Implement ui generation
...
Needs a considerable amount of management specific to some of
the comoboboxes due to the audio engine configuration.
general: Partial audio config implmentation
configure_audio: Implement ui generation
Needs a considerable amount of management specific to some of
the comoboboxes due to the audio engine configuration.
general: Partial audio config implmentation
settings: Make audio settings as enums
2023-07-21 10:56:07 -04:00
88d3de4e85
settings: Split enums to new file
2023-07-21 10:56:07 -04:00
4c4bc134a9
settings, uisettings: Initialize linkage counter
2023-07-21 10:56:07 -04:00
8e15146026
configure_system: Implement with for loop
2023-07-21 10:56:07 -04:00
cdb5dea269
settings: Move runtime and save to parameters
...
These don't need to be whole new types.
2023-07-21 10:56:07 -04:00
464aad52cd
settings: Add UiGeneral class
2023-07-21 10:56:07 -04:00
d35577d3ed
configuration: Implement slider
2023-07-21 10:56:07 -04:00
3a7a5edcea
settings: Define base renderer runtime modifiable settings
2023-07-21 10:56:07 -04:00
a4de202cbd
settings: Add anisotropy mode enum
2023-07-21 10:56:07 -04:00
cfb63c68db
shared_translation: Finish using int ids
2023-07-21 10:56:07 -04:00
bafd569b47
settings,uisettings: Add IDs to settings
2023-07-21 10:56:07 -04:00
f8435d676f
configure_graphics: Partial runtime implementation
2023-07-21 10:56:07 -04:00
75d7e40113
settings: Recategorize a bit
...
Will help with generating config UI later.
2023-07-21 10:56:07 -04:00