lat9nq
b1716a9e14
settings: Set GPU as default ASTC decoder
2023-07-24 16:28:13 -04:00
lat9nq
f84e7b4656
settings_common: Document specializations
2023-07-23 16:21:08 -04:00
lat9nq
17b9c1e171
common,qt-config: Remove usage of forward_list
2023-07-21 23:09:09 -04:00
lat9nq
2911988b85
settings_common: Use a vector in category linkage
...
Improve storage requirements.
2023-07-21 10:56:55 -04:00
lat9nq
ffb384463f
settings: Remove sorting from log
...
Unecessary, and would run every time the settings are logged.
2023-07-21 10:56:55 -04:00
lat9nq
3211623192
common: Move global configuration state modifiers back to settings
2023-07-21 10:56:55 -04:00
lat9nq
b02e7eea78
settings_setting: Fix typo
2023-07-21 10:56:55 -04:00
lat9nq
1e093767a8
common,configure_system: Rename method to GetCategory
...
Fixes essentially a shadowing issue.
2023-07-21 10:56:55 -04:00
lat9nq
267f3c7905
settings: Cleanup
...
Addresses review feedback
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2023-07-21 10:56:55 -04:00
lat9nq
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
lat9nq
ff6a5031d5
settings: Require time zone setting value for stirng
2023-07-21 10:56:55 -04:00
lat9nq
e7f01128f1
settings: Give indices to enums
2023-07-21 10:56:55 -04:00
lat9nq
52cc7b438b
settings_common: Remove unncessary enum spec
2023-07-21 10:56:55 -04:00
lat9nq
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
lat9nq
54d58130a0
settings_setting: Silence shadowing warnings
2023-07-21 10:56:55 -04:00
lat9nq
926f3e3d3e
settings,configuration: Add a default suffix
2023-07-21 10:56:55 -04:00
lat9nq
7f708e8d77
settings: Define paired settings
...
settings_common: Remove unused optional
2023-07-21 10:56:55 -04:00
lat9nq
b2438f1fb7
settings: Define specializations for settings
...
Suggests to a frontend how to represent each setting.
2023-07-21 10:56:55 -04:00
lat9nq
8b28aa45b9
settings,translation: Fix time zone enum
...
Renames enum values to conform to naming convention.
2023-07-21 10:56:55 -04:00
lat9nq
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
lat9nq
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
lat9nq
fdbeb84168
settings,uisettings: Remove leading underscore
2023-07-21 10:56:55 -04:00
lat9nq
3a7705e774
settings: Move speed_limit to core
2023-07-21 10:56:55 -04:00
lat9nq
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
lat9nq
c97cbd089b
settings_setting: Fix MSVC error
2023-07-21 10:56:55 -04:00
lat9nq
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
lat9nq
a0883526d6
settings: Delete cpu_accuracy_first_time
...
Almost a 2 year old migration setting now
2023-07-21 10:56:54 -04:00
lat9nq
27e53990ed
settings: Document BasicSetting, add Ranged
2023-07-21 10:56:54 -04:00
lat9nq
b4f2ad3ff5
settings: Move IsConfiguringGlobal to settings_common
2023-07-21 10:56:54 -04:00
lat9nq
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
lat9nq
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
lat9nq
04d4b6ab80
(ui,)settings: Use explicit instantiation
...
Reduces compile times a tad on clang.
2023-07-21 10:56:54 -04:00
lat9nq
02265f19d9
settings: Remove redundant false literals
2023-07-21 10:56:54 -04:00
lat9nq
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
lat9nq
2fba913d0b
settings_enums: Add const type where needed
2023-07-21 10:56:54 -04:00
lat9nq
b86171d2b5
settings: yuzu is not capitalized why is it capitalized stop no bad
2023-07-21 10:56:54 -04:00
lat9nq
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
lat9nq
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
lat9nq
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
lat9nq
d146dd9d12
settings,general: Rename non-confirming enums
2023-07-21 10:56:54 -04:00
lat9nq
3281ea935f
settings: Make volume runtime-configurable
2023-07-21 10:56:07 -04:00
lat9nq
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
lat9nq
88d3de4e85
settings: Split enums to new file
2023-07-21 10:56:07 -04:00
lat9nq
4c4bc134a9
settings, uisettings: Initialize linkage counter
2023-07-21 10:56:07 -04:00
lat9nq
8e15146026
configure_system: Implement with for loop
2023-07-21 10:56:07 -04:00
lat9nq
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
lat9nq
464aad52cd
settings: Add UiGeneral class
2023-07-21 10:56:07 -04:00
lat9nq
d35577d3ed
configuration: Implement slider
2023-07-21 10:56:07 -04:00
lat9nq
3a7a5edcea
settings: Define base renderer runtime modifiable settings
2023-07-21 10:56:07 -04:00
lat9nq
a4de202cbd
settings: Add anisotropy mode enum
2023-07-21 10:56:07 -04:00