Commit Graph
33994 Commits
Author SHA1 Message Date
Martino Fontana 14d5fe714d BitSet: Some small additions
Also add requirements for using range functions.
And micro-optimize testing if a bit is set (GCC and MSVC struggle to emit `bt` or `tbz`/`tbnz` with `bs & (1 << n)` compared to `(bs >> n) & 1`).
2026-11-15 22:31:04 +01:00
Martino Fontana c73fcc1530 Jit64: More intuitive register reversion 2026-11-15 13:00:33 +01:00
JosJuice f7a0bf5bd6 Merge pull request #14888 from SuperSamus/dcbx-dont-clear-icache
Jit: Don't invalidate instruction block cache with dcbx
2026-11-15 12:29:37 +01:00
JosJuice 80a1a25fbc Merge pull request #14966 from SuperSamus/optimize-efb-xfb-uninitialization
TextureCacheBase: Optimize EFB and XFB uninitialization
2026-11-15 12:27:38 +01:00
Jordan Woyak 334334d42a Merge pull request #15006 from Sintendo/mfspr-movsx
Jit64: mfspr - Sign-extend slice_length
2026-11-14 14:57:32 -06:00
Jordan Woyak f9cb5f1c08 Merge pull request #13704 from unexploredtest/cmake_source
CMake: Fix relative pathing when project is imported
2026-11-14 13:49:30 -06:00
JosJuice be0e304c02 Merge pull request #14978 from JoshuaVandaele/quick-stop-hang
CPU: Fix quickly-stopped games hanging Dolphin
2026-11-14 20:03:07 +01:00
JosJuice 761713cec9 Merge pull request #15012 from dokslade/gl-x11-event-mask
GLX11Window: Don't override the host's event mask on the parent window
2026-11-14 15:51:27 +01:00
Jordan Woyak 5c496d1838 Merge pull request #15019 from jordan-woyak/perf-track-fps-fix
PerformanceTracker: Fix broken FPS calculation on Windows after a multi-second delay.
2026-11-13 14:43:59 -06:00
Jordan Woyak e66427c87e Merge pull request #15014 from dokslade/gl-osd-duplicate
OGL: Only show the Video Info OSD message when initializing the backend
2026-11-13 13:55:28 -06:00
Jordan Woyak 63557b8a67 PerformanceTracker: Fix broken FPS calculation on Windows after a multi-second delay. 2026-11-13 03:35:41 -06:00
Jordan Woyak e36cd326c0 Merge pull request #15016 from jordan-woyak/remove-bb-dump-port
HW/WiimoteReal: Remove BBDumpPort feature.
2026-11-12 20:00:37 -06:00
Jordan Woyak 9cef41db5f Merge pull request #14976 from JoeysRetroHandhelds/wiimote-null-hid-source
WiimoteDevice: Don't send output reports to a null HID source
2026-11-12 19:49:05 -06:00
Jordan Woyak 4380df9828 Merge pull request #14713 from llsc12/master
Fix cheatsmanager crash
2026-11-12 18:16:11 -06:00
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 fc58424b3c GLX11Window: Don't override the host's event mask on the parent window
GLX11Window::Create called XSelectInput(display, parent_window,
StructureNotifyMask) on the host's display connection, which replaces
the event mask that the host (DolphinQt or DolphinNoGUI) selected for
the window instead of adding to it.

As a result, Qt stopped receiving FocusIn/FocusOut, key and mouse
events for the render window once an OpenGL context had been created
on it. The same issue made DolphinNoGUI lose its key and focus events
with OpenGL.

The GL code doesn't process any events itself, and the hosts already
select StructureNotify, so just drop the call. Also stop discarding
pending events in XSync, as the event queue belongs to the host.

Fixes https://bugs.dolphin-emu.org/issues/13354
2026-11-13 00:24:53 +01: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
Jordan Woyak b4c90227c1 HW/WiimoteReal: Remove BBDumpPort feature. 2026-11-11 18:56:06 -06:00
dok.slade af2ccf4f72 OGL: Only show the Video Info OSD message when initializing the backend
PopulateConfig is called through FillBackendInfo both from Initialize
and from InitBackendInfo, which creates a temporary GL context to query
the backend's capabilities. InitBackendInfo runs when booting (from
Core::Init) and when the graphics settings refresh the backend info, so
the "Video Info" message got queued two or three times, and all of them
were shown once the first frame was drawn.

Move the OSD messages to Initialize so they're only added once per
emulation start.

Fixes https://bugs.dolphin-emu.org/issues/13574
2026-11-11 22:20:20 +01:00
Sintendo ad3598389e Jit64: mfspr - Fix comment formatting 2026-11-10 17:06:46 +01:00
Sintendo b47056b6fd Jit64: mfspr - Sign-extend slice_length
`slice_length` is defined as an int, but was being zero-extended to 64
bits on x64. We should match what we do for ARM64 and sign-extend, as
discussed in PR #14944.
2026-11-10 16:55:20 +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
Lakhan Lothiyi 016e11d736 fix cheat manager crash 2026-11-08 10:34:19 +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
Joshua Vandaële 0436c9f60e CPU: Fix quickly-stopped games hanging Dolphin 2026-11-03 14:21:46 +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
Joey 4dcc95c37d WiimoteDevice: Don't send output reports to a null HID source
ReceiveL2capData forwarded HID output reports to m_hid_source without
checking it. SetSource accepts nullptr (e.g. Wii Remote set to "Real"
with no real remote connected), and the game's L2CAP channel can still
be open when that happens, so the next output report crashed the CPU
thread with a null dereference.

Seen on Android with Skylanders: Spyro's Adventure and Wii Remote 1 set
to Real Wii Remote.
2026-11-02 22:31:38 -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