Commit graph

43563 commits

Author SHA1 Message Date
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
JMC47
532a8621da
Merge pull request #13116 from mitaclaw/ranges-modernization-8-trivial-of
Ranges Algorithms Modernization - Of
2024-12-26 16:51:53 -05:00
Tabitha
9b973ebea0
Update GP6E01.ini 2024-12-26 16:44:36 -05:00
Tabitha
256d0e855b
Update GP6E01.ini 2024-12-26 16:28:08 -05:00
Tabitha
2f18be70fe
Update GP6E01.ini 2024-12-26 15:51:00 -05:00
Tabitha
9da427c258
Update ci.yml 2024-12-26 15:35:22 -05:00
Nayla Hanegan
57d48cbaa3 sdl 2024-12-26 15:29:41 -05:00
Tabitha
87b7737e96
Update GP6E01.ini 2024-12-26 15:18:06 -05:00
Niel Lebeck
bae4616dd1 Add some unit test coverage of the SplitPath function 2024-12-26 11:42:01 -08: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
1e1168432b Merge branch 'dolphin-emu-maste2r' 2024-12-24 20:47:11 -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
Tabitha
9a8b8deb82
Add files via upload 2024-12-24 20:34:51 -05:00
Tabitha
cc582943e3
Add files via upload 2024-12-24 09:43:51 -05:00
Tabitha
3e5c4d6f63
another up 2024-12-24 09:41:03 -05:00
Tabitha
b2a745f2d2
Update GP5E01.ini 2024-12-24 09:36:37 -05:00
Tabitha
b21a4f9836
Add files via upload 2024-12-24 05:46:05 -05:00
Gamer64
764bf314e1 Android: Fix VSync option not working
It happened due to a typo from SECTION_GFX_HARDWARE
2024-12-24 10:41:45 +01:00
Tabitha
93bf17838f
Update GP7E01.ini 2024-12-23 22:12:19 -05:00
Tabitha
b205808b1f
have 2024-12-23 21:11:39 -05:00
Tabitha
b2cabcb540
please 2024-12-23 21:09:17 -05:00
Tabitha
37984bb423
last attempt 2024-12-23 21:07:28 -05:00
Tabitha
2efae06712
Update GP6E01.ini 2024-12-23 21:04:37 -05:00
Tabitha
dbe479b2f7
new codes 1/5 2024-12-23 20:52:50 -05:00
JMC47
f9ce2b9d76
Merge pull request #13232 from TryTwo/PR_hotfix
Qt crash hotfix
2024-12-23 18:04:51 -05:00