Commit graph

1265 commits

Author SHA1 Message Date
Danila Malyutin
7f0de0f204 msvc: set warning level to /W4 globally
And fix a bunch of warnings
2023-09-03 18:42:10 +04:00
Mario
54a5b8062e yuzu-qt: Track play time 2023-08-26 22:20:19 -04:00
liamwhite
e392005f94 Merge pull request #11356 from lat9nq/console-mode-pg
general,config-qt: Present Console Mode as an enum with separate options in game properties
2023-08-26 19:15:00 -04:00
BenjaminHalko
efff61637b ui: Fixed inverted controls on ReverseSlider widgets
fixes: #11236
2023-08-25 10:06:34 -07:00
lat9nq
81d209ee34 general: Use console mode helper across project 2023-08-22 21:58:23 -04:00
lat9nq
c272548832 config(qt): Sanitize docked handheld controller 2023-08-22 16:07:53 -04:00
lat9nq
145321abbe shared_translation: Define use_docked_mode texts 2023-08-22 16:07:53 -04:00
lat9nq
447ec24378 general: Convert use_docked_mode to an enumeration
Allows some special interactions with it in the Qt frontend.
2023-08-22 16:07:52 -04:00
lat9nq
02b7e0364b shared_widget: Implement radio groups 2023-08-22 16:07:52 -04:00
lat9nq
73111dbc46 configure_ui: Silence MSVC warning 2023-08-16 16:28:44 -04:00
lat9nq
e6fb92574b yuzu-qt: Screenshots depend more on the graphics settings 2023-08-16 16:12:42 -04:00
lat9nq
9433d04259 yuzu-qt: Implement unspecified screenshot ratio 2023-08-16 00:18:47 -04:00
lat9nq
19a8bd5593 configure_ui: Update the screenshots data 2023-08-15 23:08:02 -04:00
lat9nq
cb5231b2ba config: Read the entire screenshots category 2023-08-15 23:07:49 -04:00
lat9nq
5c5eea2336 yuzu-qt: Enable specifying screenshot resolution 2023-08-15 22:42:28 -04:00
lat9nq
53f9d7d61a config(qt): Fix name of network category
Turns out the network interface is in the Services category. Can't wait
get rid of this whole config.

Addresses yuzu-emu/yuzu/issues/11205
2023-08-02 12:21:43 -04:00
lat9nq
dcaf1b3373 config(qt): Use qt_config directly to read config
ReadSetting with the default is a convenience function reading
settings,  not for use in an internal environment. It tries to manage
the default value of a setting.
2023-08-02 12:20:19 -04:00
lat9nq
88cbe9c789 shared_widget: Only save global settings as needed
Fixes a potential but not reproduced issue where the custom config
is being applied to the global config.
2023-07-30 12:26:55 -04:00
lat9nq
c2d170a7a6 config(qt): Write the UiGeneral category 2023-07-30 12:09:32 -04:00
lat9nq
ec98780578 config(qt): Fix generic read setting
Previously was not respecting whether the setting was default.
2023-07-29 13:23:06 -04:00
lat9nq
79ea110b8d shared_widget: Determine default request earlier
Fixes a bug where a restore button could be created for an unmanaged
widget.
2023-07-23 17:08:25 -04:00
lat9nq
cf4dab8313 shared_widget: Use QRegularExpression 2023-07-22 15:07:34 -04:00
lat9nq
24dfed6db6 config: Read the Network category 2023-07-22 14:50:32 -04:00
lat9nq
940d19783f configure_audio/cpu: Sort settings
Was producing out of order settings as a result of the switch to vectors
2023-07-22 00:42:15 -04:00
lat9nq
a6f683755e configure_dialog: Focus the button box on start
Without this, the Reset All Settings button would be selected by default
2023-07-21 23:56:01 -04:00
lat9nq
0bea4bac83 qt/configuration: Use deleteLater 2023-07-21 23:25:22 -04:00
lat9nq
cce6c6919c common,qt-config: Remove usage of forward_list 2023-07-21 23:09:09 -04:00
lat9nq
9d5bb1f297 configure_system: Use lambda template to group settings 2023-07-21 10:56:55 -04:00
lat9nq
5c0cf58f73 common: Move global configuration state modifiers back to settings 2023-07-21 10:56:55 -04:00
lat9nq
b187a3c214 common,configure_system: Rename method to GetCategory
Fixes essentially a shadowing issue.
2023-07-21 10:56:55 -04:00
lat9nq
830a2815b5 shared_translation: Update memory layout mode strings 2023-07-21 10:56:55 -04:00
lat9nq
5011827255 settings: Require time zone setting value for stirng 2023-07-21 10:56:55 -04:00
lat9nq
068d23c2ac shared_translation: Add missing time zones 2023-07-21 10:56:55 -04:00
lat9nq
6a14be7536 shared_translation: Add controller_applet_disabled 2023-07-21 10:56:55 -04:00
lat9nq
5dad33923c shared_translation: Add barrier_feedback_loops 2023-07-21 10:56:55 -04:00
lat9nq
61239d5b12 configuration: Use enum index 2023-07-21 10:56:55 -04:00
lat9nq
5c08176020 shared_translation: Deobfuscate auto time zone 2023-07-21 10:56:55 -04:00
lat9nq
245c490e02 settings,configuration: Add a default suffix 2023-07-21 10:56:55 -04:00
lat9nq
380be385d1 configuration: Use paired settings 2023-07-21 10:56:55 -04:00
lat9nq
5700f46f8f shared_widget: Internalize component restoring 2023-07-21 10:56:55 -04:00
lat9nq
da00b5ab3c configuration: Use specialization of settings
Reduces some ugliness in frontend code.
2023-07-21 10:56:55 -04:00
lat9nq
e45389c266 configuration: Use a builder to create widgets
This gets rid of some repeated code and sets us up to send more
information to the new widget.
2023-07-21 10:56:55 -04:00
lat9nq
d9699be7c2 shared_translation: Fix context usage
Currently unused, but I don't want to start headaches when someone
decides to use it the first time.
2023-07-21 10:56:55 -04:00
lat9nq
27df166abd settings,translation: Fix time zone enum
Renames enum values to conform to naming convention.
2023-07-21 10:56:55 -04:00
lat9nq
2959a3efb4 config_shared: Remove storing the group from tab 2023-07-21 10:56:55 -04:00
lat9nq
0a5e03b492 configuration: Move speed_limit to core 2023-07-21 10:56:55 -04:00
lat9nq
7aa6adde59 shared_widget: Correct spelling 2023-07-21 10:56:55 -04:00
lat9nq
859dff4c27 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
92941df1f6 configure_graphics: Simplify UpdateAPILayout
Reduces branching/swictch cases for simplicity/code size
2023-07-21 10:56:54 -04:00
lat9nq
aebab92dac configure_graphcs: Fix setting shader/device in custom config 2023-07-21 10:56:54 -04:00