Commit Graph
33965 Commits
Author SHA1 Message Date
Jordan Woyak cd92a628f3 Merge pull request #14876 from VampireFlower/usbgecko
Optimize USB Gecko Emulation
2026-11-12 17:58:38 -06:00
OatmealDome 70c5a6ad0e Merge pull request #14990 from JoshuaVandaele/macos-dolphintool
CMake: Bundle dolphin-tool on macOS
2026-11-10 00:18:14 -05:00
Tillmann Karras fd7d53a7f7 Skylanders: only play audio received on endpoint 2
This avoids problems in the unrelated game Band Hero.
2026-11-08 17:42:07 +00:00
OatmealDome d0609395c1 DolphinQt: Use CMAKE_CURRENT_BINARY_DIR to temporarily store translation files during build on macOS 2026-11-07 16:31:16 -05:00
Joshua Vandaële b183f8ea97 CMake: Bundle dolphin-tool on macOS
I do not own an Apple device and as such this is completely untested by myself. A user requesting this feature on Discord has confirmed this makes dolphin-tool show up. Most of these changes come from looking at what already exists for DolphinQt and the Mac Updater.
Related issue: https://bugs.dolphin-emu.org/issues/13259
2026-11-07 00:26:32 +01:00
Admiral H. Curtiss 4a70679d0a Merge pull request #14968 from acts-1631/state-lzo-bounds
Core: Bound legacy savestate LZO decompression
2026-11-06 02:29:35 +01:00
Jordan Woyak 322d8b8d86 Merge pull request #14969 from acts-1631/fifo-memory-update-bounds
Core: Bound FIFO memory updates
2026-11-05 16:43:53 -06:00
Jordan Woyak f599a8e1ad Merge pull request #14986 from iwubcode/invalid_asset
VideoCommon: error if the same asset id is used with a different type
2026-11-05 16:36:56 -06:00
iwubcode b0c7778406 VideoCommon: error if the same asset id is used with a different type 2026-11-05 16:10:41 -06:00
Acts1631 f662e8585f Core: bound legacy savestate LZO decompression
Legacy savestate headers controlled both the compressed input length
and the decompression buffer size. The input was read into a fixed-size
buffer without validation, and the unsafe LZO API could write past its
output buffer.

Use the legacy block size as the output capacity, reject oversized
compressed blocks, and use the bounds-checking LZO decompressor.
2026-11-05 17:09:40 -05:00
Acts1631 a95137ad33 Core: bound FIFO memory updates
FIFO logs control each memory update address and data size. Playback
masked only the start address into RAM or EXRAM, then copied the
complete update contiguously. An update reaching the end of a mapped
region could therefore write beyond host-mapped emulated memory.

Resolve the target through MemoryManager and reject updates larger than
the remaining valid span before copying them.
2026-11-05 17:09:36 -05:00
Jordan Woyak 045f3fea55 Core/IOS/Network/Socket: Use a guaranteed monotonic clock instead of high_resolution_clock. 2026-11-04 23:32:25 -06:00
JosJuice 584366cb68 Merge pull request #14794 from JosJuice/android-title-database
Android: Use TitleDatabase for game list
2026-11-04 19:46:41 +01:00
JosJuice 112e1a436a Merge pull request #14404 from sepalani/tri-close
AMMediaboard: Update closesocket error code approriately
2026-11-04 19:46:13 +01:00
Jordan Woyak df4bd441de Merge pull request #14972 from jordan-woyak/paren-init-aggregate
Minor cleanups with "parenthesized initialization of aggregates".
2026-11-02 22:44:51 -06:00
Jordan Woyak e8c4246796 Merge pull request #14510 from Ma-Rang/pr/gecko-bind-error
EXI: Show on-screen error when USB Gecko fails to bind
2026-11-02 14:16:21 -06:00
Ma-Rang 18190eb05d EXI: Show on-screen error when USB Gecko fails to bind
Previously, if the USB Gecko server failed to bind to any port in the
55020-55030 range, it silently returned with no indication to the user.
Now displays an on-screen message and logs an error.
2026-11-02 04:17:42 -06:00
Jordan Woyak d182533d36 Merge pull request #14916 from iwubcode/vertex_manager_draw_refactor
VideoBackends / VideoCommon: split draw calls into separate commit and render functions
2026-11-01 21:35:00 -06:00
Jordan Woyak adf85af9fe Merge pull request #14941 from debug687/patch-1
DolphinQt: Fix crash from stale timer event in ToolTipWidget
2026-11-01 21:33:55 -06:00
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
iwubcode 4fb368cf36 VideoBackends / VideoCommon: split draw calls into separate commit and render steps 2026-10-31 13:42:20 -05: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
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
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
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