Commit Graph
33969 Commits
Author SHA1 Message Date
Jordan Woyak cf21d5dc0b Merge pull request #14877 from SuperSamus/performance-tracker-variance-fixup
PerformanceTracker: Small cleanup, properly use RunningVariance for the standard deviation
2026-11-12 18:07:27 -06:00
Jordan Woyak 836045f9cd Merge pull request #15011 from dokslade/filesystemwidget-menu-uaf
DolphinQt: Fix use-after-free of FilesystemWidget context menu
2026-11-12 18:00:42 -06:00
Jordan Woyak cd92a628f3 Merge pull request #14876 from VampireFlower/usbgecko
Optimize USB Gecko Emulation
2026-11-12 17:58:38 -06:00
dok.slade 3ad596102a DolphinQt: Fix use-after-free of FilesystemWidget context menu
The context menu was created with Qt::WA_DeleteOnClose, but its actions
open modal dialogs from within QMenu's own activation code. A nested
event loop could process the menu's deferred deletion before control
returned to QMenu, which then accessed freed memory, causing crashes or
heap corruption.

Own the menu with a std::unique_ptr so it is only destroyed once
QMenu::exec has returned.

Fixes https://bugs.dolphin-emu.org/issues/13816
2026-11-13 00:23:25 +01: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
Martino Fontana c6e63fb3ab PerformanceTracker: Small cleanup, properly use RunningVariance for the standard deviation
UpdateStats() was calculating the standard deviation from the entirety of m_dt_queue, which has a noticeable performance impact when the frame rates are very high.
On a scene so light it runs at 3000 FPS, UpdateStats() was taking around 5% of the profiling (at default 1s sample window). Now it doesn't.
2026-10-31 22:52:44 +01: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