Léo Lam
6763a3fce1
Config: Add support for enums
...
This makes it possible to use enums as the config type.
Default values are now clearer and there's no need for casts
when calling Config::Get/Set anymore.
In order to add support for enums, the common code was updated to
handle enums by using the underlying type when loading/saving settings.
A copy constructor is also provided for conversions from
`ConfigInfo<Enum>` to `ConfigInfo<underlying_type<Enum>>`
so that enum settings can still easily work with code that doesn't care
about the actual enum values (like Graphics{Choice,Radio} in DolphinQt2
which only treat the setting as an integer).
2018-05-12 18:10:26 +02:00
spycrab
242fadc76f
Qt/MappingButton: Fix occasionally broken indicator
2018-05-11 12:37:48 +02:00
spycrab
146979f67e
Qt/IOWindow: Fix crash
2018-05-10 21:12:19 +02:00
spycrab
be007b436c
Qt/GraphicsWindow: Fix software renderer breaking layout
2018-05-10 12:08:23 +02:00
spycrab
074a17482b
Qt/GraphicsWindow: Refresh settings on construction
2018-05-10 12:08:23 +02:00
spycrab
6a34f2b47c
Qt/GeneralWidget: Fix "No" response to backend switch confirmation
2018-05-10 12:08:23 +02:00
spycrab
b7b6b5162c
Qt/GeneralWidget: Refresh backend settings properly
2018-05-10 12:08:23 +02:00
spycrab
18c7d295c9
Qt/FilesystemWidget: Fix moc compilation
2018-05-09 22:35:27 +02:00
Starsam80
ebf6149ad4
Qt: Use `addLayout` instead of `addItem` when adding layouts
2018-05-08 17:54:47 -06:00
Anthony
1ec3a4db6c
Merge pull request #6763 from spycrab/qt_fix_prog
...
Qt/AdvancedWidget: Fix "Enable Progressive Scan"
2018-05-07 09:59:32 -07:00
Anthony
46236920ef
Merge pull request #6767 from spycrab/qt_whatsthis2
...
Qt: Make dialogues more consistent
2018-05-07 09:58:15 -07:00
spycrab
a2448c5b66
Qt/GeneralWidget: Various fixes
2018-05-07 17:50:03 +02:00
Markus Wick
6f0ad84a5e
Merge pull request #6764 from spycrab/qt_fix_rtm
...
Qt: Fix "Render To Main"
2018-05-07 17:33:56 +02:00
spycrab
7cd30810a3
Qt: Make dialogues more consistent
2018-05-06 18:05:56 +02:00
Léo Lam
7a9e1a240e
Merge pull request #6757 from JosJuice/qt-filesystem-extraction
...
DolphinQt2: Fix disc extraction inconsistencies with DolphinWX
2018-05-06 13:24:06 +02:00
spycrab
6f65238efc
Qt: Fix "Render To Main"
2018-05-06 04:51:13 +02:00
spycrab
6442b32aeb
Qt/AdvancedWidget: Fix "Enable Progressive Scan"
2018-05-06 03:16:43 +02:00
JosJuice
33211d8690
DolphinQt2: Don't show pop-ups in the middle of extracting a whole disc
2018-05-05 18:31:46 +02:00
JosJuice
f48fac5b55
DolphinQt2: Allow picking "Extract Files..." on disc/partition
...
DolphinWX already does this.
2018-05-05 18:31:44 +02:00
JosJuice
1a74de6462
DolphinQt2: Fix the file structure of extracted discs
...
Now all the partitions won't be all jumbled up in one folder,
and the filesystem contents won't be mixed with system data.
2018-05-05 17:00:27 +02:00
Léo Lam
975689e1f7
Merge pull request #6754 from spycrab/qt_no_whatsthis
...
Qt: Remove "What's this" button
2018-05-05 16:04:52 +02:00
Léo Lam
31efec623a
Merge pull request #6695 from Ebola16/UbershadersDecrip
...
Update Ubershader descriptions
2018-05-05 11:16:30 +02:00
Pierre Bourdon
798639291f
Merge pull request #6749 from spycrab/qt_gcontrols_crash
...
Qt/GraphicsControls: Fix more random crashes
2018-05-05 03:02:43 +02:00
spycrab
69d6c0dccb
Qt: Remove "What's this" button
2018-05-05 02:29:16 +02:00
spycrab
e809eef11a
Qt/AdvancedWidget: Fix progressive scan checkbox
2018-05-04 21:33:24 +02:00
spycrab
300c3970f3
Qt/GraphicsControls: Fix more random crashes
2018-05-04 13:51:55 +02:00
Stenzek
a5e410b7c9
Merge pull request #6744 from stenzek/ui-disable-vram-copies
...
UI: Add Disable EFB Copies to VRAM to Advanced Options
2018-05-04 12:01:29 +10:00
Mat M
348125eda4
Merge pull request #6738 from spycrab/qt_fix_empty_adapter
...
Qt/GeneralWidget: Fix empty adapter option
2018-05-03 13:11:00 -04:00
Mat M
689a70a7f1
Merge pull request #6736 from spycrab/qt_bad_range_clear
...
Qt/MappingButton: Fix bad range default
2018-05-03 13:09:26 -04:00
Mat M
cf40ebf16a
Merge pull request #6737 from JosJuice/qt-invalid-si-device
...
DolphinQt2: Don't crash on invalid SI devices
2018-05-03 13:07:23 -04:00
spycrab
a61445919d
Qt/GraphicsSlider: Fix random crashes
2018-05-03 15:22:40 +02:00
Stenzek
d4f6c86eec
UI: Add Disable EFB Copies to VRAM to Advanced Options
2018-05-03 14:31:04 +10:00
Stenzek
8a061d6fb4
Qt/AdvancedWidget: Fix borderless fullscreen option not showing
2018-05-03 14:13:35 +10:00
spycrab
0595fd498f
Qt/MappingButton: Fix bad range default
2018-05-02 21:50:50 +02:00
JosJuice
16b805410f
DolphinQt2: Don't crash on invalid SI devices
...
This is important if we ever add or delete SI devices.
2018-05-02 21:50:28 +02:00
Mat M
ed6709ac8f
Merge pull request #6731 from spycrab/qt_cache_slider
...
Qt/HacksWidget: Fix "Accuracy" slider
2018-05-02 15:48:33 -04:00
spycrab
b99610f1a3
Qt/GeneralWidget: Fix empty adapter option
2018-05-02 19:20:45 +02:00
spycrab
e3cebebe51
Qt/MappingButton: Fix Clear not resetting ranges
2018-05-02 17:02:14 +02:00
spycrab
3d7b613be5
Qt/Mapping: Fix "Default" not working properly.
2018-05-02 16:55:42 +02:00
spycrab
ef3f660983
Qt/HacksWidget: Fix "Accuracy" slider
2018-05-02 16:36:15 +02:00
spycrab
0d5b34be34
Qt/MappingWindow: Fix saving to incomplete Profile directory
2018-05-02 06:45:11 +02:00
Ryan Meredith
05205ce3d7
Update Ubershader descriptions
2018-05-01 18:57:34 -04:00
Stenzek
6e62d1ab9f
Merge pull request #6722 from spycrab/qt_adapter
...
Qt/GraphicsSettings: Save Adapter index
2018-05-01 21:57:50 +10:00
spycrab
87d6bffcec
Qt/GraphicsSettings: Fix various adapter issues
2018-05-01 13:54:01 +02:00
Léo Lam
78c9bad44f
Merge pull request #6688 from spycrab/qt_dedup
...
Qt: Deduplicate settings
2018-05-01 11:53:39 +02:00
Stenzek
c46882142b
Merge pull request #6369 from stenzek/xfb-copy-filter
...
Implement copy filter (deflickering/brightness) and XFB gamma
2018-05-01 19:31:54 +10:00
spycrab
c6a0a4318d
Qt/MappingWindow: Fix saving
2018-04-30 09:09:27 +02:00
spycrab
417d191c9e
Qt/GraphicsControls: Reload values when settings are changed
2018-04-29 12:17:39 +02:00
Stenzek
ea4090d92c
Dolphin: Add disable copy filter to graphics options
2018-04-29 19:05:20 +10:00
JosJuice
8870ffeac4
DolphinQt2: Fix clearing numeric values in controller config
2018-04-28 13:02:26 +02:00