33127 Commits

Author SHA1 Message Date
JosJuice
3feea108db DiscIO: Decrease RAM usage during zstd compression
By calling ZSTD_CCtx_setPledgedSrcSize, we can let zstd know
how large a chunk is going to be before which start compressing
it, which lets zstd avoid allocating more memory than needed
for various internal buffers. This greatly reduces the RAM usage
when using a high compression level with a small chunk size,
and doesn't have much of an effect in other circumstances.

A side effect of calling ZSTD_CCtx_setPledgedSrcSize is that
zstd by default will write the uncompressed size into the
compressed data stream as metadata. In order to save space,
and since the decompressed size can be figured out through
the structure of the RVZ format anyway, we disable writing
the uncompressed size by setting ZSTD_c_contentSizeFlag to 0.
2020-10-07 16:40:06 +02:00
JMC47
ebdcddfcd0
Merge pull request #9120 from JosJuice/controller-defaults
Fix controller defaults being empty on fresh run
2020-09-29 18:38:11 -04:00
JosJuice
623340bbbb Fix controller defaults being empty on fresh run
A very early call to Config::Save is now creating empty
controller INI files.

https://bugs.dolphin-emu.org/issues/12283
2020-09-29 21:49:22 +02:00
Jordan Woyak
3655243612
Merge pull request #9106 from jordan-woyak/wm-distance
WiimoteEmu: Increase camera FOV to match that of a real Wii remote.
2020-09-28 18:53:51 -05:00
Jordan Woyak
0295d470b1 ControllerEmu: Increase "IMUPointer" "Total Yaw" default value to match that of regular "Point" settings.
Removed "Total Yaw" from included Wii remote input profile to take on the default value.
2020-09-28 18:09:34 -05:00
Jordan Woyak
f766c89a08 ControllerEmu: Increase Total Yaw/Pitch default values to compensate for new FOV and to reach screen edges in the Wii Menu. 2020-09-28 18:09:34 -05:00
Jordan Woyak
f9280d0f66 ControllerInterface/Wiimote: Add "IR Distance" input providing a calculated distance from sensor bar in meters. 2020-09-28 18:09:34 -05:00
Jordan Woyak
761f7798c9 WiimoteEmu: Increase Camera FOV constants to 42 by 31.5 degrees. 2020-09-28 18:09:34 -05:00
Jordan Woyak
1063c4e940 MathUtil: Add Population (vs Sample) versions of Variance and StandardDeviation to RunningVariance. 2020-09-28 18:09:33 -05:00
JosJuice
960750003e
Merge pull request #9112 from Ebola16/setmin
Android: seekbar.setMin requires API level 26
2020-09-27 17:36:05 +02:00
Ryan Meredith
42b2d11f8d Android: seekbar.setMin requires API level 26 2020-09-26 23:55:16 -04:00
Jordan Woyak
6cb14a9a54
Merge pull request #9115 from jordan-woyak/default-modifiers
Core: Unbreak default keyboard mappings.
2020-09-26 10:20:57 -05:00
Jordan Woyak
1dc0e0565d
Merge pull request #9114 from JosJuice/android-zstd-levels
Android: Fix convertCompressionLevelZstdValues
2020-09-26 08:41:43 -05:00
Jordan Woyak
24771aac5a Core: Unbreak default keyboard mappings. 2020-09-26 08:25:56 -05:00
JosJuice
bdfce1cd13 Android: Fix convertCompressionLevelZstdValues
That's what I get for copy-pasting
2020-09-26 11:25:54 +02:00
Connor McLaughlin
aea0239071
Merge pull request #9109 from stenzek/msaa-efb-readback
FramebufferManager: Fix EFB readbacks with MSAA on
2020-09-26 17:46:16 +10:00
JMC47
c64d41d3e7
Merge pull request #8428 from jordan-woyak/better-hotkeys
InputCommon: Add hotkey support to input expressions.
2020-09-26 00:36:16 -04:00
Jordan Woyak
431eb4d60d ExpressionParser: Improve hotkey suppression logic. Allow activation with simultaneous press of modifier and final input. 2020-09-25 22:51:33 -05:00
Jordan Woyak
44927da420 ExpressionParser: Replace ScopeGuard with custom deleter unique_ptr. 2020-09-25 22:51:33 -05:00
Jordan Woyak
48b76ff90f InputCommon: Improve input detection to produce buton combinations. 2020-09-25 22:51:32 -05:00
Jordan Woyak
d8ad8c3861 InputCommon: Make hotkeys and input detection aware of Ctrl -> L_Ctrl / R_Ctrl hierarchy. 2020-09-25 20:29:18 -05:00
Jordan Woyak
aae913fbc6 InputCommon: Clean up modifier ignoring logic. 2020-09-25 20:29:18 -05:00
Jordan Woyak
f7bf26cd60 Core: Clean up default hotkey expressions. 2020-09-25 20:29:18 -05:00
Jordan Woyak
f015c99a51 ControllerInterface: Add platform consistent names for modifier keys. 2020-09-25 20:29:18 -05:00
Jordan Woyak
d2729df281 ExpressionParser: Allow duplicate and superset modifier hotkeys to function. 2020-09-25 20:29:18 -05:00
Jordan Woyak
b3acc7403f InputCommon: Support detecting combinations of inputs. (Hotkeys) 2020-09-25 20:29:18 -05:00
Jordan Woyak
e6ba495486 ExpressionParser: Suppress inputs when hotkey modifiers are pressed. 2020-09-25 20:29:18 -05:00
Jordan Woyak
52547379c9 ExpressionParser: Add Hotkey syntax. 2020-09-25 20:29:18 -05:00
Stenzek
880f7ca6bb FramebufferManager: Fix EFB readbacks with MSAA on
Regression from #8827.
2020-09-25 20:58:02 +10:00
LC
57f14b260b
Merge pull request #9108 from Ebola16/News
Properly fix News Channel loading screen
2020-09-23 21:52:35 -04:00
Ryan Meredith
97181f0c51 Properly fix News Channel loading screen 2020-09-23 21:34:50 -04:00
LC
a9b15dfe3c
Merge pull request #9107 from JosJuice/qt-disc-0
DolphinQt: Use 1-based disc numbering in InfoWidget
2020-09-23 12:29:15 -04:00
JMC47
54e570a95f
Merge pull request #8902 from JosJuice/android-convert
Android: Add disc image conversion
2020-09-23 12:27:43 -04:00
JosJuice
0ddd296cd9 DolphinQt: Use 1-based disc numbering in InfoWidget 2020-09-23 11:42:22 +02:00
JMC47
f33767f19c
Merge pull request #9088 from JosJuice/android-sysconf
Android: Add Wii SYSCONF settings to GUI
2020-09-22 14:03:56 -04:00
Jordan Woyak
50b5224d06
Merge pull request #8840 from Techjar/evdev-combining-phys
ControllerInterface: Combine evdev devices with the same physical location in addition to unique ID
2020-09-20 09:28:09 -05:00
Jordan Woyak
c9a1134dd6
Merge pull request #9097 from jordan-woyak/bt-emu-kill-mem-var
Core/BTEmu: Change a member variable to a local variable.
2020-09-20 08:26:32 -05:00
Jordan Woyak
2e753abcc9 Update state version. 2020-09-19 18:02:25 -05:00
Jordan Woyak
32ef8a46a1 Core/BTEmu: Change a member variable to a local variable. 2020-09-19 18:00:22 -05:00
JosJuice
39df01434c Translation resources sync with Transifex 2020-09-19 16:59:10 +02:00
Jordan Woyak
3348e63d1d
Merge pull request #9070 from Techjar/default-input-profiles
Add support for built-in input profiles
2020-09-19 09:16:07 -05:00
Techjar
fc65057e05 Add built-in profile for Wii Remote with MotionPlus IR 2020-09-18 06:32:46 -04:00
Techjar
29460b946e Qt/MappingWindow: Add support for built-in profiles 2020-09-18 06:32:42 -04:00
JosJuice
a393a18f51
Merge pull request #9093 from Techjar/mega-ini-fixes
Various GameINI updates
2020-09-17 23:05:55 +02:00
Techjar
31083e10df GameSettings: Fix Monster Hunter Tri bloom patches 2020-09-17 16:58:45 -04:00
Techjar
6707ca2ebd GameSettings: Enable FPRF for Interactive Multi-Game Demo Disk: November 2003
This disc contains an F-Zero GX demo.
2020-09-17 16:58:28 -04:00
Techjar
0b501c8e9f GameSettings: Set Texture Cache Accuracy to "Safe" for Rockman EXE Transmission 2020-09-17 16:47:59 -04:00
Techjar
828a5172e4 GameSettings: Set Texture Cache Accuracy to "Medium" for Far Cry Vengeance 2020-09-17 16:47:59 -04:00
Techjar
002aad71e3 GameSettings: Disable MSAA for Pokemon Snap 2020-09-17 16:47:59 -04:00
Techjar
e08e75a385 GameSettings: Disable MSAA for Pikmin (Wii) 2020-09-17 16:47:59 -04:00