Commit graph

36738 commits

Author SHA1 Message Date
TryTwo
d048e6a373 Frame Dumping: Change lossless codec from FFV1 to Ut Video.
Ut Video is faster and more compatible with editing programs, but produces larger files.
2025-01-05 07:54:07 +00:00
JosJuice
30bcb2b8dd JitArm64: Drop GetCRFieldBit's negate parameter
No caller is using it anymore.
2025-01-04 01:54:07 +00:00
JosJuice
6ecd292db4 JitArm64: Use BIC/EON/ORN in crXXX
This lets us save an instruction in certain scenarios.
2025-01-04 01:54:07 +00:00
JosJuice
123aa3b9ec JitArm64: Add negate parameter to SetCRFieldBit
Unlike on x64, inverting EQ or GT in SetCRFieldBit saves us one
instruction. Also unlike on x64, inverting SO or LT in GetCRFieldBit
requires an extra instruction (just like in SetCRFieldBit). Due to this,
replacing an invert in GetCRFieldBit with an invert in SetCRFieldBit
when possible is either equally good or better - never worse.
2025-01-04 01:54:07 +00:00
JosJuice
77a5739333 JitArm64: Port some crXXX optimizations from Jit64 2025-01-04 01:54:07 +00:00
JosJuice
120a28e9d4 JitArm64: Refactor CR bit manipulation code
This brings JitArm64 more in line with Jit64, and makes the next commit
easier to implement. No functional change.
2025-01-04 01:54:07 +00:00
Nayla Hanegan
f87c489ee9 derp 2025-01-03 17:52:26 -05:00
Nayla Hanegan
a50aaccaad more fixes 2025-01-03 16:56:40 -05:00
Nayla Hanegan
813d535002 change registry flag 2025-01-03 16:54:19 -05:00
Nayla Hanegan
558c49042d rename 2025-01-03 16:41:17 -05:00
Nayla Hanegan
1242123537 Remove MPN Extended rename super extended to MPN Extended 2025-01-03 16:38:57 -05:00
Nayla Hanegan
f53b88a474 Super extended for mp7 2025-01-03 16:33:47 -05:00
Nayla Hanegan
2573b127d0 comment out this code again 2025-01-01 18:07:16 -05:00
Nayla Hanegan
89d176fd8b Merge branch 'master' of https://github.com/MarioPartyNetplay/Dolphin-MPN 2025-01-01 17:56:43 -05:00
Nayla Hanegan
24f5d5e76b Super Extended codehandler fix 2025-01-01 17:55:16 -05:00
mitaclaw
216890ab5f Simplify std::search with Common::ContainsSubrange 2025-01-01 19:54:07 +00:00
mitaclaw
4da2338ab5 Simplify std::find_if with Common::Contains 2025-01-01 19:54:07 +00:00
mitaclaw
cc16346d8f Simplify std::find with Common::Contains
In NandPaths.cpp, the `std::initializer_list<char>` of illegal characters has been turned into a `char[]` (similar to the one in GameList.cpp).

The reverse iteration in ResourcePack.cpp seemed to provide no benefits, and doing without it it seemed to have no ill effects.
2025-01-01 19:54:07 +00:00
mitaclaw
202f169138 Common: Create "Contains.h" Algorithm Header
The new `Common::Contains` and `Common::ContainsSubrange` function objects mirror C++23's `std::ranges::contains` and `std::ranges::contains_subrange`, respectively.
2025-01-01 19:54:07 +00:00
Admiral H. Curtiss
eeffb3ba4d DolphinQt/HacksWidget: Convert accuracy slider to ConfigSlider 2024-12-31 19:54:07 +00:00
Admiral H. Curtiss
39ab975a30 DolphinQt: Add option for value mappings to ConfigSlider 2024-12-31 19:54:07 +00:00
Gamer64
245f539c82 Android: Fix VSync option not working
It happened due to a typo from SECTION_GFX_HARDWARE
2024-12-31 19:54:07 +00:00
Niel Lebeck
ed117050d0 Add some unit test coverage of the SplitPath function 2024-12-27 19:54:07 +00:00
mitaclaw
08fdc4dc4e Modernize std::none_of with ranges
In JitRegCache.cpp, the lambda predicate were replaced by a pointer to member function because ranges algorithms are able to invoke those.

In ConvertDialog.cpp, the `std::mem_fn` helper was removed because ranges algorithms are able to handle pointers to member functions as predicates.

In BoundingBox.cpp, the lambda predicate was returning the bool element unchanged, so `std::identity` was a better fit.
2024-12-27 01:54:07 +00:00
mitaclaw
b9ded45f3c Modernize std::any_of with ranges
In WiimoteReal.cpp, JitRegCache.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those.

In ConvertDialog.cpp, the `std::mem_fn` helper was removed because ranges algorithms are able to handle pointers to member functions as predicates.
2024-12-27 01:54:07 +00:00
mitaclaw
063d9894b7 Modernize std::all_of with ranges
In DITSpecification.cpp, MaterialAsset.cpp, and ShaderAsset.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those.

In NetPlayClient.cpp, the non-trivial `NetPlay::Player` elements were being passed by value in `NetPlayClient::DoAllPlayersHaveGame()`. This has been fixed.

In WIABlob.cpp, the second example's predicate was returning the `std::optional` by value instead of implicitly converting it to a bool. This has been fixed.
2024-12-27 01:54:07 +00:00
mitaclaw
c40a9b1f12 StringUtil: More Wrappers For <cctype>
`Common::IsLower(char)` was omitted as nothing needed it.
2024-12-27 01:54:07 +00:00
Nayla Hanegan
e2df04ad2d posible fix 2024-12-25 18:20:36 -05:00
Nayla Hanegan
a662081a1d Merge branch 'master' of https://github.com/MarioPartyNetplay/Dolphin-MPN 2024-12-24 20:48:44 -05:00
Nayla Hanegan
75a9451d0b Merge branch 'master' of https://github.com/dolphin-emu/dolphin into dolphin-emu-maste2r 2024-12-24 20:47:03 -05:00
TryTwo
27ac5fa777 Qt crash fix. Don't store Config::Info variable as a reference. 2024-12-23 15:40:07 -07:00
JMC47
c528a70e64
Merge pull request #13211 from Sintendo/blendvpd
Jit_FloatingPoint: fselx - Prefer BLENDVPD over VBLENDVPD
2024-12-22 18:35:11 -05:00
JMC47
a1d6aa7d3e
Merge pull request #13212 from JosJuice/jitarm64-ps-sel-same-reg
JitArm64: Optimize ps_sel with d == b || d == c
2024-12-22 18:34:32 -05:00
JosJuice
5641b83d4e
Merge pull request #13063 from TryTwo/PR_GameSettings
Add ability to edit game-specific GFX settings from game properties tab.
2024-12-22 20:42:28 +01:00
Admiral H. Curtiss
bb8c0a795f
Merge pull request #13214 from JosJuice/sethardcoremode-private
AchievementManager: Make SetHardcoreMode private
2024-12-22 20:09:29 +01:00
JMC47
1ba8541da9
Merge pull request #13091 from mitaclaw/ranges-modernization-2-returns
Ranges Algorithms Modernization - Return
2024-12-20 12:50:19 -05:00
Sintendo
20ebc8287b JitArm64_Integer: Optimize subfic for -1
Another one backported from x86. Not sure why I didn't do this in #12891
already.

- Without carry
Before:
0x2a3a03fb   mvn    w27, w26
0x6b1a037b   subs   w27, w27, w26

After:
0x1280001b   mov    w27, #-0x1                ; =-1

- With carry
Before:
0x2a3b03f7   mvn    w23, w27
0x6b1b02f7   subs   w23, w23, w27
0x1a9f37f6   cset   w22, hs
0x390bd3b6   strb   w22, [x29, #0x2f4]

After:
0x12800017   mov    w23, #-0x1                ; =-1
2024-12-18 19:54:07 +00:00
JMC47
ac0d6cbaaa
Merge pull request #13224 from Sintendo/jitarm64-subfic2
JitArm64_Integer: Optimize subfic for -1
2024-12-18 12:07:23 -05:00
OatmealDome
922febadf1 VKSwapChain: Always use surface formats with a normal sRGB color space if not RGBA16F
Co-authored-by: TellowKrinkle <tellowkrinkle@gmail.com>
2024-12-17 16:31:23 +00:00
OatmealDome
01f6810a9d
Merge pull request #13207 from OatmealDome/vulkan-hdr-color-space
VKSwapChain: Always use surface formats with a normal sRGB color space if not RGBA16F
2024-12-16 17:29:19 -05:00
Nayla Hanegan
1e8a2893ea fix loading textures from sys folder 2024-12-16 02:40:30 -05:00
Nayla Hanegan
0c05a273ae add blocking lobby 2024-12-16 02:31:07 -05:00
Nayla Hanegan
4d0fbc1a87 fix browser 2024-12-16 01:46:54 -05:00
Nayla Hanegan
2bf5f25d98 now were building again. 2024-12-16 00:54:05 -05:00
Nayla Hanegan
df9c49e5ce up to date almost 2024-12-16 00:53:34 -05:00
Nayla Hanegan
e350f16f91 minor compile fix 2024-12-16 00:48:39 -05:00
Nayla Hanegan
86f7aa4e6a Merge branch 'master' of https://github.com/dolphin-emu/dolphin into dolphin-emu-master2 2024-12-16 00:48:24 -05:00
JosJuice
ad24ddb6bb VerifyTool: Add missing USE_RETRO_ACHIEVEMENTS ifdefs 2024-12-15 18:15:57 +01:00
JosJuice
84ab15e020 AchievementManager: Add required forward declarations
This was causing compilation errors when building without
USE_RETRO_ACHIEVEMENTS.
2024-12-15 18:00:14 +01:00
Sintendo
d81213c4a5 JitArm64_Integer: Optimize subfic for -1
Another one backported from x86. Not sure why I didn't do this in #12891
already.

- Without carry
Before:
0x2a3a03fb   mvn    w27, w26
0x6b1a037b   subs   w27, w27, w26

After:
0x1280001b   mov    w27, #-0x1                ; =-1

- With carry
Before:
0x2a3b03f7   mvn    w23, w27
0x6b1b02f7   subs   w23, w23, w27
0x1a9f37f6   cset   w22, hs
0x390bd3b6   strb   w22, [x29, #0x2f4]

After:
0x12800017   mov    w23, #-0x1                ; =-1
2024-12-15 02:24:30 +01:00