Commit graph

1203 commits

Author SHA1 Message Date
Charles Lombardo
9485b44d25 Merge pull request #11889 from t895/ini-lib
configuration: Unify config handling across frontends
2023-11-24 22:59:55 -05:00
t895
eb0d351274 frontend_common: Add option to read unsigned integers 2023-11-21 21:01:46 -05:00
Merry
e780c7ac83 shared_widget: Explicit capture of 'this' 2023-11-21 22:57:09 +00:00
liamwhite
13437f3ce1 Merge pull request #11984 from lat9nq/lupdate
shared_translation: Call tr more directly
2023-11-21 09:19:13 -05:00
t895
230bd06245 config: Unify config handling under frontend_common
Replaces every way of handling config for each frontend with SimpleIni. frontend_common's Config class is at the center where it saves and loads all of the cross-platform settings and provides a set of pure virtual functions for platform specific settings.

As a result of making config handling platform specific, several parts had to be moved to each platform's own config class or to other parts. Default keys were put in platform specific config classes and translatable strings for Qt were moved to shared_translation. Default hotkeys, default_theme, window geometry, and qt metatypes were moved to uisettings. Additionally, to reduce dependence on Qt, QStrings were converted to std::strings where applicable.
2023-11-21 01:58:13 -05:00
liamwhite
3254ed9634 Merge pull request #12007 from german77/moar_buttons
core: hid: Split SL and SR buttons
2023-11-16 09:13:39 -05:00
liamwhite
e3a8c777be Merge pull request #11990 from german77/audio
yuzu: Save mute when in background setting
2023-11-13 09:13:12 -05:00
german77
6788dffa53 core: hid: Split SL and SR buttons 2023-11-11 21:03:15 -06:00
Narr the Reg
50474720f2 yuzu: Save mute when in background setting 2023-11-10 10:22:02 -06:00
lat9nq
9652986874 shared_translation: Call tr for each string
Qt can't parse tr called within a macro, so we must call it on each
string.

shared_translation: Remove redundant include
2023-11-08 11:54:01 -05:00
liamwhite
1a0441ab59 Merge pull request #11969 from german77/profile
service: acc: Ensure proper profile size
2023-11-05 13:15:14 -05:00
german77
65b1508d0d service: acc: Ensure proper profile size 2023-11-05 09:28:22 -06:00
liamwhite
066ca9bd2b Merge pull request #11965 from german77/color
core: hid: Signal color updates
2023-11-04 23:26:24 -04:00
Narr the Reg
01ba4d64aa core: hid: Signal color updates 2023-11-04 14:13:18 -06:00
Kelebek1
539b99379d Convert files to LF eol 2023-11-04 18:25:40 +00:00
Liam
e219f4a771 qt: remove duplicate exit confirmation setting 2023-10-31 10:31:50 -04:00
liamwhite
4940a6b310 Merge pull request #11689 from liamwhite/breakpad
qt: implement automatic crash dump support
2023-10-29 23:41:13 -04:00
Narr the Reg
7f0b245f06 Merge pull request #11803 from flodavid/improve-controller-applet-click
yuzu: Improve behavior when clicking on controller box in Controller applet
2023-10-29 09:13:07 -06:00
liamwhite
b0dd771920 Merge pull request #11841 from german77/halp
yuzu: fix restore shortcuts button
2023-10-23 10:36:40 -04:00
german77
46858fdb41 yuzu: Fix vibration reseting to 1% 2023-10-22 13:39:45 -06:00
Narr the Reg
baaa94d26f yuzu: Fix restore shortcuts button 2023-10-21 21:16:20 -06:00
flodavid
302836f670 yuzu: Improve behavior when clicking on controller box in Controller applet
- Apply changes on Controller configuration of commit d037853 to Controller applet
  - Fix regression of this previous commit:
  Enabling a controller in its tab did not activate previous controllers

Signed-off-by: flodavid <fl.david.53@gmail.com>
2023-10-17 23:19:11 +02:00
liamwhite
d03785395e Merge pull request #11779 from flodavid/improve-player-config-click
yuzu: Improve behavior when clicking on controller box in Control configuration
2023-10-14 09:58:27 -04:00
flodavid
ab17afdf95 yuzu: Improve behavior when clicking on controller box in Control Configuration
When reducing the number of Connecter Controllers, keep the one clicked if it was not the last one of the list
2023-10-14 00:46:11 +02:00
flodavid
1d7739a43b yuzu: Enable to use controller to restart a game
- Show the right confirm dialog if wanted
  - Create generic method to ask close confirmation
- Add "R + Plus + Minus" default shortcut to Restart emulation
2023-10-12 01:53:54 +02:00
Florian
032d4938a9 yuzu: Use new setting method for stop emulation 2023-10-12 01:51:53 +02:00
flodavid
8c020e3f44 yuzu: Enable to use controller to close a game
- Add General setting to choose if a confirm dialog is shown when stopping
- Show the right confirm dialog if wanted
  - Reuse dialog window that ask to close the game
- Add "L + Plus + Minus" default shortcut to Stop emulation
- Create generic question dialog based on TAS dialog
  - It allows controller interaction on most dialogs
2023-10-12 01:51:52 +02:00
liamwhite
90d65919b5 Merge pull request #10519 from mdmrk/master
yuzu-qt: Track play time
2023-10-08 17:11:34 -04:00
Liam
5f51662bdb qt: implement automatic crash dump support 2023-10-08 11:35:53 -04:00
Narr the Reg
751b4e2162 yuzu: Fix mute when in background setting 2023-10-03 20:12:06 -06:00
liamwhite
f56103605e Merge pull request #11492 from lat9nq/c-numeric-conversions
general: Remove uncaught usages of C++ string number conversions
2023-09-16 11:40:03 -04:00
lat9nq
9264e1d1ad shared_widget: Use default literals more 2023-09-14 11:31:26 -04:00
GPUCode
cc2c6d8805 debug: Add renderdoc capture hotkey 2023-09-14 16:37:41 +03:00
lat9nq
c750d6965a shared_widget: Forward-port Citra changes
Seemed like a good time to move these over.
Also remove usage of std::sto{l,ll,ul,f,d}
2023-09-13 13:52:09 -04:00
lat9nq
81debaff3b configure_ui: Remove unnecessary usage of stoul 2023-09-13 13:52:09 -04:00
liamwhite
d51a537d15 Merge pull request #11450 from lat9nq/no-vk-device-fix
configure_graphics: Fix handling of broken Vulkan
2023-09-10 13:41:10 -04:00
lat9nq
217640aad4 configure_graphics: Capture by reference
Small optimization.
2023-09-05 17:50:55 -04:00
lat9nq
7d94588301 configure_graphics: Fix handling of broken Vulkan
The VSync combobox wouldn't populate if there was no Vulkan device,
which caused issues with trying to set VSync on other backends.

This also adds another layer to GetCurrentGraphicsBackend to check for
broken Vulkan and return OpenGL instead of Vulkan.
2023-09-04 20:21:14 -04:00
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