Commit Graph

33127 Commits

Author SHA1 Message Date
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
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
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
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
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
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
f9280d0f66 ControllerInterface/Wiimote: Add "IR Distance" input providing a calculated distance from sensor bar in meters. 2020-09-28 18:09:34 -05:00
761f7798c9 WiimoteEmu: Increase Camera FOV constants to 42 by 31.5 degrees. 2020-09-28 18:09:34 -05:00
1063c4e940 MathUtil: Add Population (vs Sample) versions of Variance and StandardDeviation to RunningVariance. 2020-09-28 18:09:33 -05:00
960750003e Merge pull request #9112 from Ebola16/setmin
Android: seekbar.setMin requires API level 26
2020-09-27 17:36:05 +02:00
42b2d11f8d Android: seekbar.setMin requires API level 26 2020-09-26 23:55:16 -04:00
6cb14a9a54 Merge pull request #9115 from jordan-woyak/default-modifiers
Core: Unbreak default keyboard mappings.
2020-09-26 10:20:57 -05:00
1dc0e0565d Merge pull request #9114 from JosJuice/android-zstd-levels
Android: Fix convertCompressionLevelZstdValues
2020-09-26 08:41:43 -05:00
24771aac5a Core: Unbreak default keyboard mappings. 2020-09-26 08:25:56 -05:00
bdfce1cd13 Android: Fix convertCompressionLevelZstdValues
That's what I get for copy-pasting
2020-09-26 11:25:54 +02:00
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
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
431eb4d60d ExpressionParser: Improve hotkey suppression logic. Allow activation with simultaneous press of modifier and final input. 2020-09-25 22:51:33 -05:00
44927da420 ExpressionParser: Replace ScopeGuard with custom deleter unique_ptr. 2020-09-25 22:51:33 -05:00
48b76ff90f InputCommon: Improve input detection to produce buton combinations. 2020-09-25 22:51:32 -05:00
d8ad8c3861 InputCommon: Make hotkeys and input detection aware of Ctrl -> L_Ctrl / R_Ctrl hierarchy. 2020-09-25 20:29:18 -05:00
aae913fbc6 InputCommon: Clean up modifier ignoring logic. 2020-09-25 20:29:18 -05:00
f7bf26cd60 Core: Clean up default hotkey expressions. 2020-09-25 20:29:18 -05:00
f015c99a51 ControllerInterface: Add platform consistent names for modifier keys. 2020-09-25 20:29:18 -05:00
d2729df281 ExpressionParser: Allow duplicate and superset modifier hotkeys to function. 2020-09-25 20:29:18 -05:00
b3acc7403f InputCommon: Support detecting combinations of inputs. (Hotkeys) 2020-09-25 20:29:18 -05:00
e6ba495486 ExpressionParser: Suppress inputs when hotkey modifiers are pressed. 2020-09-25 20:29:18 -05:00
52547379c9 ExpressionParser: Add Hotkey syntax. 2020-09-25 20:29:18 -05:00
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
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
54e570a95f Merge pull request #8902 from JosJuice/android-convert
Android: Add disc image conversion
2020-09-23 12:27:43 -04:00
0ddd296cd9 DolphinQt: Use 1-based disc numbering in InfoWidget 2020-09-23 11:42:22 +02:00
f33767f19c Merge pull request #9088 from JosJuice/android-sysconf
Android: Add Wii SYSCONF settings to GUI
2020-09-22 14:03:56 -04:00
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
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
2e753abcc9 Update state version. 2020-09-19 18:02:25 -05:00
32ef8a46a1 Core/BTEmu: Change a member variable to a local variable. 2020-09-19 18:00:22 -05:00
39df01434c Translation resources sync with Transifex 2020-09-19 16:59:10 +02:00
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
fc65057e05 Add built-in profile for Wii Remote with MotionPlus IR 2020-09-18 06:32:46 -04:00
29460b946e Qt/MappingWindow: Add support for built-in profiles 2020-09-18 06:32:42 -04:00
a393a18f51 Merge pull request #9093 from Techjar/mega-ini-fixes
Various GameINI updates
2020-09-17 23:05:55 +02:00
31083e10df GameSettings: Fix Monster Hunter Tri bloom patches 2020-09-17 16:58:45 -04:00
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
0b501c8e9f GameSettings: Set Texture Cache Accuracy to "Safe" for Rockman EXE Transmission 2020-09-17 16:47:59 -04:00
828a5172e4 GameSettings: Set Texture Cache Accuracy to "Medium" for Far Cry Vengeance 2020-09-17 16:47:59 -04:00
002aad71e3 GameSettings: Disable MSAA for Pokemon Snap 2020-09-17 16:47:59 -04:00
e08e75a385 GameSettings: Disable MSAA for Pikmin (Wii) 2020-09-17 16:47:59 -04:00