Commit Graph
46288 Commits
Author SHA1 Message Date
Jordan Woyak d08bddeaab Common/TypeUtils: Remove missing __cpp_aggregate_paren_init feature workaround. 2026-11-01 21:09:38 -06:00
Jordan Woyak faae54eec7 Core/Debugger: Clean up emplace_back calls with use of "parenthesized initialization of aggregates". 2026-11-01 21:09:00 -06:00
JMC47 833d8c0596 Merge pull request #14704 from JoshuaVandaele/mathutils-23
MathUtil: C++20/23 modernisations
2026-11-01 14:59:45 -05:00
JMC47 e6ed14488a Merge pull request #14006 from jordan-woyak/speaker-accuracy
HW/Wiimote: Speaker logic accuracy fixes, comments, and code cleanups.
2026-11-01 14:59:17 -05:00
iwubcode 86d554802d Merge pull request #14596 from CySlaytor/master
feat(retroachievements): implement achievement notification sounds
2026-11-01 00:10:58 -05:00
CySlaytor 56076f403d feat(retroachievements): implement achievement notification sounds 2026-11-01 01:29:01 +00:00
JosJuice 613db73aeb Merge pull request #14958 from bmdhacks/mali-custom-driver
Vulkan: Allow custom drivers on Mali devices
2026-10-31 16:39:44 +01:00
JosJuice c4856ead64 Merge pull request #14878 from vhoxha08/add-global-hotkeys-android
Android: Add global hotkeys
2026-10-31 16:17:25 +01:00
JosJuice 78a8ab40c3 Merge pull request #14947 from scatterflower/unaligned-store-fix
PowerPC/MMU: Use effective address for special-case unaligned stores
2026-10-31 16:14:07 +01:00
JosJuice 29862901ee Merge pull request #14944 from Sintendo/arm64-mfspr-sxtw
JitArm64_SystemRegister: mfspr - Sign extension nit
2026-10-31 16:13:50 +01:00
JosJuice 47075151c3 Merge pull request #14943 from Sintendo/vertex-arm64
VertexLoaderARM64: Optimize RGB565 and RGBA6666
2026-10-31 16:13:17 +01:00
JosJuice 97b33a2527 Merge pull request #14928 from JosJuice/neon-texture-decoder
VideoCommon: Add TextureDecoder_ARM64.cpp
2026-10-31 16:12:31 +01:00
JosJuice 3ba9b97113 Merge pull request #14930 from jordan-woyak/dev-dolphin-determinism
IOS/DolphinDevice: Enable some requests with WantsDeterminism rather than disabling them all.
2026-10-31 16:11:58 +01:00
JosJuice 34746347b7 Merge pull request #14903 from brad0/elf_aux_info_check
ArmCPUDetect: check elf_aux_info() return value in ReadHwCap
2026-10-31 16:10:02 +01:00
iwubcode 1f30867901 Merge pull request #14782 from tygyh/Core/Use-lerp-and-midpoint
Replace manual calculations with std::lerp and std::midpoint
2026-10-31 02:04:42 -05:00
Jordan Woyak dd5a544dde Merge pull request #14964 from jordan-woyak/scrollable-ppconfig-window
DolphinQt: Make individual tabs of PostProcessingConfigWindow scrollable.
2026-10-30 21:21:21 -05:00
iwubcode 2c6a598fae Merge pull request #14866 from SuperSamus/efb-to-texture-clear-byte
VideoCommon: Option for byte to memset in RAM when `EFBToTextureEnable = True`
2026-10-30 15:14:15 -05:00
Jordan Woyak 9c2e4afedb DolphinQt: Make individual tabs of PostProcessingConfigWindow scrollable for shaders with too many settings to fit on the screen. 2026-10-30 14:53:51 -05:00
Brian Degenhardt a8fc326a6b Vulkan: Allow custom drivers on Mali devices 2026-10-28 15:53:55 -07:00
Admiral H. Curtiss 3eb30c7620 Merge pull request #14939 from SuperSamus/ppc-analyst-no-strncmp
PPCAnalyst: Avoid using strncmp
2026-10-25 13:40:23 +01:00
JosJuice edce78926f Merge pull request #14853 from SuperSamus/jit-trampoline-info-optimize
Jit: Optimize trampoline info allocation
2026-10-25 12:30:00 +01:00
JosJuice f8e6bed381 Merge pull request #14952 from jordan-woyak/common-thread-remove-unused
Common/Thread: Remove some unused things.
2026-10-25 12:00:44 +01:00
Jordan Woyak fa108cf559 Common/Thread: Remove unused non-Windows INFINITE macro. 2026-10-25 01:34:41 -05:00
Jordan Woyak d7c0fdebad Common/Thread: Remove unused SwitchCurrentThread function. 2026-10-25 01:34:41 -05:00
Martino Fontana 786d91da28 PPCAnalyst: Avoid using strncmp
Its usage appears in the profiler, and while small, it's not completely insignificant.
2026-10-24 21:20:12 +00:00
Jordan Woyak e3063ce496 IOS/DolphinDevice: Enable some requests with WantsDeterminism rather than disabling them all. 2026-10-24 15:50:30 -05:00
Jordan Woyak 22b581c670 Merge pull request #14940 from jordan-woyak/CoreTimingTest-fix
UnitTests: Fix CoreTiming.SharedSlot test so it can run independently.
2026-10-24 15:04:25 -05:00
iwubcode b5f580e6f9 Merge pull request #14946 from OatmealDome/revert-win-std-chrono
Revert "msvc: use std::chrono for GetLocalTimeSinceJan1970"
2026-10-24 13:22:24 -05:00
Sintendo f22dd8677f VertexLoaderARM64: Optimize RGBA6666
This commit replaces the old instruction sequence with one that is
considerably shorter. Main ideas are as follows:

 - Use AND with constant mask to isolate the needed bits.
 - Use ORR + LSL/LSR to shirt the bits into position and combine in one
   instruction where possible.
 - Red and alpha are already sequential, so don't need to wait for the
   byteswap.
 - Do the expansion from 6 to 8 bits at the end for all 4 components
   in one step.

Before:

ldur   w14, [x0]
rev    w14, w14
ubfx   w15, w14, #0, #6
orr    w15, wzr, w15, lsl #2
orr    w15, w15, w15, lsr #6
orr    w16, wzr, w15, lsl #24
ubfx   w15, w14, #6, #6
orr    w15, wzr, w15, lsl #2
orr    w15, w15, w15, lsr #6
orr    w16, w16, w15, lsl #16
ubfx   w15, w14, #12, #6
orr    w15, wzr, w15, lsl #2
orr    w15, w15, w15, lsr #6
orr    w16, w16, w15, lsl #8
ubfx   w15, w14, #18, #6
orr    w16, w16, w15, lsl #2
orr    w16, w16, w15, lsr #4
str    w16, [x1, #0xc]

After:

ldur   w14, [x0]
rev    w15, w14
and    w16, w14, #0xfc00
and    w14, w14, #0x3f000000
lsr    w16, w16, #8
orr    w16, w16, w14, lsl #2
and    w14, w15, #0xfc0
and    w15, w15, #0x3f000
orr    w15, w15, w14, lsl #14
orr    w16, w16, w15, lsr #2
and    w15, w16, #0xc0c0c0c0
orr    w16, w16, w15, lsr #6
str    w16, [x1, #0xc]
2026-10-24 19:01:59 +02:00
Sintendo 9c60ba938c VertexLoaderARM64: Optimize RGB565
This replaces the old instruction sequence with one that is considerably
shorter. Main ideas are as follows:

 - Use AND with constant mask to isolate the needed bits.
 - Use ORR + LSL/LSR to shift the bits into position and combine in one
   instruction where possible.
 - Red and blue are already sequential, so don't need to wait for the
   byteswap. This is especially handy for red, where the bits are
   already where they need to be.
 - Red and blue can be expanded from 5 to 8 bits together.

Before:

ldurh  w14, [x0, #0x1]
rev16  w14, w14
and    w15, w14, #0x1f
orr    w15, wzr, w15, lsl #3
orr    w15, w15, w15, lsr #5
orr    w16, wzr, w15, lsl #16
ubfx   w15, w14, #5, #6
orr    w15, wzr, w15, lsl #2
orr    w15, w15, w15, lsr #6
orr    w16, w16, w15, lsl #8
ubfx   w15, w14, #11, #5
orr    w16, w16, w15, lsl #3
orr    w16, w16, w15, lsr #2
orr    w16, w16, #0xff000000
str    w16, [x1, #0xc]

After:

ldurh  w14, [x0, #0x1]
rev16  w15, w14
bfi    w14, w14, #11, #13
and    w16, w14, #0xf800f8
and    w14, w14, #0xe000e0
orr    w16, w16, #0xff000000
orr    w16, w16, w14, lsr #5
and    w14, w15, #0x7e0
and    w15, w15, #0x600
orr    w14, w14, w15, lsr #6
orr    w16, w16, w14, lsl #5
str    w16, [x1, #0xc]
2026-10-24 19:00:43 +02:00
JosJuice c12121f419 Merge pull request #14917 from jordan-woyak/skylanders-common-aes
Skylanders: Replace mbedtls_aes usage with Common::AES.
2026-10-24 14:16:21 +02:00
scatterflower 2798f68c53 PowerPC/MMU: Use effective address for special-case unaligned stores 2026-10-23 22:55:36 -07:00
OatmealDome 5ef181ba4d Revert "msvc: use std::chrono for GetLocalTimeSinceJan1970"
This reverts commit 86da6c98fb.
2026-10-23 11:49:22 -04:00
Jordan Woyak e56740eabc Skylanders: Replace mbedtls_aes usage with Common::AES and minor warning cleanups. 2026-10-22 15:08:20 -05:00
Jordan Woyak e1d35f666c Merge pull request #14913 from jordan-woyak/md5
Common: Introduce MD5Context class and ComputeMD5 function to minimize mbedtls dependence.
2026-10-22 15:05:23 -05:00
Sintendo c54807302b JitArm64_SystemRegister: mfspr - Sign extension nit
This instruction effectively performs the following computation:

```
Xresult = SXTW(slice_length) - Xresult + global_timer;
```

ARM64 has a dedicated sign extension instruction, but also allows this
sign extension to happen as part of many arithmetic operations. By
reordering the computation, we can take advantage of this:

```
Xresult = global_timer + SXTW(slice_length) - Xresult;
```

Before:
```
ldr    w24, [x29, #0x2f0]
scvtf  s8, w24
ldr    s9, [x27, #0x20]
fmul   s8, s8, s9
fcvtzs x25, s8
ldp    x24, x23, [x27]
sxtw   x23, w23
sub    x25, x23, x25
add    x25, x25, x24
ldp    x24, x23, [x27, #0x10]
sub    x25, x25, x23
mov    x23, #-0x5555555555555556 ; =-6148914691236517206
add    x23, x23, #0x1
umulh  x25, x25, x23
add    x25, x24, x25, lsr #3
str    x25, [x29, #0x770]
```

After:
```
ldr    w24, [x29, #0x2f0]
scvtf  s8, w24
ldr    s9, [x27, #0x20]
fmul   s8, s8, s9
fcvtzs x25, s8
ldp    x24, x23, [x27]
add    x24, x24, w23, sxtw
sub    x25, x24, x25
ldp    x24, x23, [x27, #0x10]
sub    x25, x25, x23
mov    x23, #-0x5555555555555556 ; =-6148914691236517206
add    x23, x23, #0x1
umulh  x25, x25, x23
add    x25, x24, x25, lsr #3
str    x25, [x29, #0x770]
```
2026-10-22 21:22:34 +02:00
Jordan Woyak 10d958e66b Merge pull request #14942 from Dentomologist/cmake_add_explicit_check_for_minimum_qt_version
CMake: Enforce minimum Qt version 6.2
2026-10-22 14:14:47 -05:00
JMC47 2c805fee8f Merge pull request #14734 from tom-pratt/trigger-game-digest-check
Android: Trigger netplay game digest check
2026-10-22 13:12:33 -04:00
Jordan Woyak 7e46e85e8f DiscIO/VolumeVerifier: Use Common::MD5Context instead of mbedtls. 2026-10-21 14:04:34 -05:00
Jordan Woyak 304086d317 SkylanderFigure: Use Common::ComputeMD5 instead of mbedtls. 2026-10-21 13:48:22 -05:00
Jordan Woyak 58a0864d03 WiiSave: Use Common::ComputeMD5 instead of mbedtls. 2026-10-21 13:48:22 -05:00
Jordan Woyak db5bbbd6cf Common: Create MD5Context class and ComputeMD5 function to minimize exposure to mbedtls throughout the project. 2026-10-21 13:48:22 -05:00
Dentomologist 33ad9ed02f CMake: Enforce minimum Qt version 6.2
Qt 6.2 has been de facto required since
afa6e26e5d added a call to
QPixmap::deviceIndependentSize which was introduced in that Qt version.

Qt 6.2 was released 5 years ago and we've required 6.2+ for over 2
years, so let's make that requirement explicit in CMakeLists.txt instead
of having an apparently random compile error if anyone happens to try
building with an older Qt version.
2026-10-21 11:25:10 -07:00
Jordan Woyak 3c72f4d542 UnitTests: Fix CoreTiming.SharedSlot test so it can run independently. 2026-10-19 12:37:07 -05:00
JMC47 cf5cb7ef81 Merge pull request #14388 from SuperSamus/jit-branch-follow-explicit
Jit: Followed unconditional branches are a property added by the Analyzer, not something to assume
2026-10-19 12:56:21 -04:00
visarhoxha 9e6659a2d8 State: Move logic of selected state to Core/State 2026-10-19 12:22:32 +02:00
visarhoxha f0ef800161 Android: Avoid constant hotkey polling to save battery
Only poll for hotkeys while EmulationActivity is resumed and at least
one supported hotkey is mapped. Otherwise the scheduler thread waits on
an event instead of polling.
2026-10-19 12:22:32 +02:00
Martino Fontana 69b75fed12 Jit: Followed unconditional branches are a property added by the Analyzer, not something to assume
If an unconditional branch is not the last instruction of the block, assuming that this means that the branch must have been followed is an unsafe assumption on how the analyzer works that may not hold true in the future.
As a bonus: JitArm64, unlike x86, didn't skip followed `bcx`s. Now it does.
2026-10-19 08:58:00 +00:00
Jordan Woyak 1822e3859f Merge pull request #14934 from iwubcode/efb_interface_remove_global
VideoCommon: remove global framebuffer manager from EFBInterface
2026-10-18 13:26:42 -05:00
JosJuice 41460454e9 Merge pull request #14796 from acts-1631/security/traversal-pending-timeout
Traversal: update pending-packet time on socket timeout
2026-10-18 14:51:18 +02:00