42927 Commits

Author SHA1 Message Date
Pokechu22
612ed106cd Build fix 2024-12-28 16:59:00 -08:00
Pokechu22
798c9826cc Typos 2024-12-28 16:59:00 -08:00
Pokechu22
e2defde893 It builds! 2024-12-28 16:59:00 -08:00
Pokechu22
28b082f46d One more fix 2024-12-28 16:59:00 -08:00
Pokechu22
0658170681 Fix reads 2024-12-28 16:59:00 -08:00
Pokechu22
c553cd5dbf Refactoring finished; AVE working again 2024-12-28 16:59:00 -08:00
Pokechu22
5893ea9660 Mostly refactored again 2024-12-28 16:59:00 -08:00
Pokechu22
fb274281b1 More WIP reworking 2024-12-28 16:59:00 -08:00
Pokechu22
63afdeccc3 Revert "Temp, doesn't build"
This reverts commit cf90785d59af9a295825573be7813a06b7766666.
2024-12-28 16:59:00 -08:00
Pokechu22
206b6337af Temp, doesn't build 2024-12-28 16:59:00 -08:00
Pokechu22
89a5108e46 Actually use the device 2024-12-28 16:59:00 -08:00
Pokechu22
6b21b41b2f Restructure device some 2024-12-28 16:59:00 -08:00
Pokechu22
669cff6571 Move I2CBus logic into I2C.cpp (without refactoring for devices) 2024-12-28 16:58:59 -08:00
Pokechu22
5f9648417c Create Common/I2C
Currently this is a copy of the Wii Remote I2CBus, and is unused. That will change in later commits.
2024-12-28 16:58:59 -08:00
Pokechu22
1ef7d90b68 Full implementation of reads and writes 2024-12-28 16:58:59 -08:00
Pokechu22
74f1ed4c4b Even more refactoring 2024-12-28 16:58:59 -08:00
Pokechu22
a45f21e422 Still a WIP, but writes again work 2024-12-28 16:58:59 -08:00
Pokechu22
91574e0331 Adjust comment further 2024-12-28 16:58:59 -08:00
Pokechu22
81b15a17de Adjust comment 2024-12-28 16:58:59 -08:00
Pokechu22
7bb449dc2d Temp 2024-12-28 16:58:59 -08:00
Pokechu22
3cbd4e2995 A bit more refactoring 2024-12-28 16:58:59 -08:00
Pokechu22
156040b10b More refactoring - no need for i2c_state in I2CBus functions 2024-12-28 16:58:59 -08:00
Pokechu22
6cff4c9a46 Refactoring 2024-12-28 16:58:59 -08:00
Pokechu22
4135f4c8bc Start of reads
The wrong value is read, but this is the correct structure, at least...
2024-12-28 16:58:59 -08:00
Pokechu22
8a03b9f46e One more enhance 2024-12-28 16:58:59 -08:00
Pokechu22
7cea5b9508 Use enhanced Common::Flags 2024-12-28 16:58:59 -08:00
Pokechu22
b53f6b00a4 Enhance Common::Flags 2024-12-28 16:58:59 -08:00
Pokechu22
08d973bccb Specialized logging 2024-12-28 16:58:59 -08:00
Pokechu22
2ef84a46db Unindent 2024-12-28 16:58:59 -08:00
Pokechu22
25e31d121b More accurate I2C handling
I still need to document this; GPIOs are wierd with their tristate behavior
2024-12-28 16:58:59 -08:00
Pokechu22
0f4dd969bb Update GPIO constants 2024-12-28 16:58:59 -08:00
Pokechu22
143e4a8319 Handle dir behavior better 2024-12-28 16:58:59 -08:00
Pokechu22
76767fcfb4 WII_IPC: Correct comment 2024-12-28 16:58:59 -08:00
Pokechu22
a84cd15023 Implement stub version of the Wii AV Encoder 2024-12-28 16:58:57 -08: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
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
Niel Lebeck
bae4616dd1 Add some unit test coverage of the SplitPath function 2024-12-26 11:42:01 -08:00
JMC47
f9ce2b9d76
Merge pull request #13232 from TryTwo/PR_hotfix
Qt crash hotfix
2024-12-23 18:04:51 -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
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
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
mitaclaw
2b0cd16c8c 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-15 19:54:17 -08:00
mitaclaw
140252ffc0 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-15 19:54:16 -08:00
mitaclaw
860e6cf5cb 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-15 19:50:34 -08:00
mitaclaw
826e2bbf98 StringUtil: More Wrappers For <cctype>
`Common::IsLower(char)` was omitted as nothing needed it.
2024-12-15 19:50:34 -08:00