Commit graph

43533 commits

Author SHA1 Message Date
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
df2bbe1ee3 Merge branch 'master' of https://github.com/MarioPartyNetplay/Dolphin-MPN 2025-01-03 17:52:43 -05:00
Nayla Hanegan
f87c489ee9 derp 2025-01-03 17:52:26 -05:00
Tabitha
085035ba46
Update GP5E01.ini 2025-01-03 17:26:40 -05:00
Tabitha
6eee9a646e
Update GP5E01.ini 2025-01-03 17:26:24 -05:00
Tabitha
87f41be32a
Update GP6E01.ini 2025-01-03 17:04:02 -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
b7b9fe5369 old codehandler remove 2025-01-03 16:41:38 -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
Tabitha
d402a29479
Merge pull request #68 from dolphin-emu/master
mpn
2025-01-01 17:59:21 -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
JMC47
f15a78ed38
Merge pull request #13094 from mitaclaw/ranges-modernization-5-contains
Ranges Algorithms Modernization - Contains
2025-01-01 14:42:44 -05:00
mitaclaw
527841f1df Simplify std::search with Common::ContainsSubrange 2025-01-01 09:52:03 -08:00
mitaclaw
d92c68e1de Simplify std::find_if with Common::Contains 2025-01-01 09:52:03 -08:00
mitaclaw
110d32729e 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 09:52:03 -08:00
mitaclaw
6f10acea3f 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 09:52:01 -08: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
Admiral H. Curtiss
b8921b1338
Merge pull request #13237 from AdmiralCurtiss/slider-mappings
DolphinQt/HacksWidget: Convert accuracy slider to ConfigSlider
2024-12-31 15:22:04 +01:00
Admiral H. Curtiss
c1c80adf1a
Merge pull request #13235 from Gamer64ytb/vsync-fix
Android: Fix VSync option not working
2024-12-31 15:20:49 +01:00
Tabitha
c05f75b325
Update GP7E01.ini 2024-12-30 19:39:01 -05:00
Niel Lebeck
ed117050d0 Add some unit test coverage of the SplitPath function 2024-12-27 19:54:07 +00:00
Nayla Hanegan
a37820b2f8 code changes 2024-12-27 14:36:36 -05:00
Nayla Hanegan
a54333ccde Merge branch 'master' of https://github.com/MarioPartyNetplay/Dolphin-MPN 2024-12-27 14:30:25 -05:00
Nayla Hanegan
7453d14626 stage 2024-12-27 14:30:22 -05:00
Tabitha
cf2b191b0c
Update GP5E01.ini 2024-12-27 12:22:12 -05:00
Tabitha
817192202a
Update GP6E01.ini 2024-12-27 12:21:40 -05:00
Tilka
05cad38abc
Merge pull request #13243 from nlebeck/stringutil-tests
Add some unit test coverage of the `SplitPath` function
2024-12-27 18:10:47 +01:00
pull[bot]
f85ee83052
Merge pull request #47 from dolphin-emu/master
[pull] master from dolphin-emu:master
2024-12-27 07:54:07 +00:00
Admiral H. Curtiss
4fc50226c6
DolphinQt/HacksWidget: Convert accuracy slider to ConfigSlider 2024-12-27 05:40:24 +01:00
Admiral H. Curtiss
98ee3836e5
DolphinQt: Add option for value mappings to ConfigSlider 2024-12-27 05:40:13 +01: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
7a99b34f21 Merge branch 'master' of https://github.com/MarioPartyNetplay/Dolphin-MPN 2024-12-26 18:01:35 -05:00
Nayla Hanegan
fe198b1623 up qt submodule 2024-12-26 18:01:30 -05:00
Tabitha
4e8032963c
Update GP6E01.ini 2024-12-26 17:55:51 -05:00