lat9nq
2959a3efb4
config_shared: Remove storing the group from tab
3 years ago
lat9nq
c0e9075d6b
settings,uisettings: Remove leading underscore
3 years ago
lat9nq
0a5e03b492
configuration: Move speed_limit to core
3 years ago
lat9nq
e09f6ee530
settings: Move speed_limit to core
3 years ago
lat9nq
fa626cd665
android-config: Update enum labels
3 years ago
lat9nq
a7a32ab8a0
common,yuzu-qt: Avoid explicit instantiation on old clang
Clang versions < 15 have compile issues with explicit instantiation.
Disable it for these versions.
3 years ago
lat9nq
c2b577b364
settings_setting: Fix MSVC error
3 years ago
lat9nq
dabce3c970
codespellrc: Ignore canonicalizations
3 years ago
lat9nq
7aa6adde59
shared_widget: Correct spelling
3 years ago
lat9nq
ce08bcb4a1
(android)config: Clang format
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
92941df1f6
configure_graphics: Simplify UpdateAPILayout
Reduces branching/swictch cases for simplicity/code size
3 years ago
lat9nq
aebab92dac
configure_graphcs: Fix setting shader/device in custom config
3 years ago
lat9nq
d1757cc55e
configuration: Use shorter constructor as needed
Reduces some confusion hopefully, since some parameters specified were not
specific to the setting in question.
3 years ago
lat9nq
84fd9f4726
shared_widget: Some documentation, add shorter constructor
The shorter constructor enables us to specify some options without needing to
specify the default values of multiplier which wasn't always appropriate and
could be confusing.
3 years ago
lat9nq
1ced5ad6e6
config: Remove unused functions
3 years ago
lat9nq
98eb39ee74
settings: Delete cpu_accuracy_first_time
Almost a 2 year old migration setting now
3 years ago
lat9nq
5fe7f2a054
shared_widget: Improve logging, use Setting::Ranged
3 years ago
lat9nq
8addc74f4f
settings: Document BasicSetting, add Ranged
3 years ago
lat9nq
8d4c466cde
settings: Move IsConfiguringGlobal to settings_common
3 years ago
lat9nq
4ca87e712d
configuration/shared: Clean up includes [IWYU]
3 years ago
lat9nq
05e54c094f
configure_graphics: Fix vulkan_device bug
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
lat9nq
5574e68b57
settings: Remove redundant false literals
3 years ago
lat9nq
620f642e5b
shared_widget: Avoid calling QWidgetPrivate::setVisible
This particular setVisible function is unnecessary.
It also has horrible runtime performance, so much that it consumed maybe
80% of the time used to create a widget.
3 years ago
lat9nq
9be2b39509
FIXME configuration: Avoid unnecessary allocations
ConfigurationShared::Widget needs to be created with a builder. This
would avoid some duplicated code.
3 years ago
lat9nq
604930b7eb
shared_widget: Add SPDX header
3 years ago
lat9nq
9d6de208a1
general: Add typeinfo where needed
Using typeid without including typeinfo first produces an ill-formed program.
3 years ago
lat9nq
9d3715a68c
settings_enums: Add const type where needed
3 years ago
lat9nq
442f0899a8
shared_widget: Use actionTriggered for user input signals
Clicking the slider without directly interacting with the slider handle would
change the value, but not trigger the restore button.
3 years ago
lat9nq
38683238a8
shared_translation: Populate combobox enums with macro
3 years ago
lat9nq
9ba1120d59
settings: yuzu is not capitalized why is it capitalized stop no bad
3 years ago
lat9nq
cb4cdcbaeb
configuration: Document odd widget cases
Explain why we need to do things differently at times, to serve as a
reference.
3 years ago
lat9nq
c97378bbf1
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.
3 years ago
lat9nq
435aec0f7f
shared_translation: Add translation for use video framrate
3 years ago
lat9nq
cfa06e42e6
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.
3 years ago
lat9nq
d344ecbee1
settings_enums: Cannonicalize settings names
Gives every option of the enums a string literal via a macro.
3 years ago
lat9nq
78f92086ca
settings,general: Rename non-confirming enums
3 years ago
lat9nq
d35281ddf3
configuration: Use IDs to sort holds
3 years ago
lat9nq
80669058c7
settings,general: Rename/reorder setting ids
3 years ago
lat9nq
e4bde3a1f5
shared_widget: Fix includes
3 years ago
lat9nq
4e18f8dbe9
shared_widget: Complete refactoring
Reduces code bloat a good bit by moving code specific to each sub widget
to their own functions.
3 years ago
lat9nq
1d7fb41d59
shared_widget: Refactor again
Starting with combobox
Putting code specific to the sub-widget in their own function.
3 years ago
lat9nq
0f8a902d8c
android-config: Adapt settings rework
3 years ago
lat9nq
7fa19e6d0a
c_per_game: Inform when settings might not be configurable
3 years ago
lat9nq
a8d8670b73
shared_translation: Fix pragma once
3 years ago
lat9nq
302903ef12
shared_translation: Add translation for AstcRecompression
3 years ago
lat9nq
71fe7e39b6
configure_system: Hide locale warn at start
3 years ago