Commit Graph
39282 Commits
Author SHA1 Message Date
Jordan Woyak c7787c1330 Merge pull request #15087 from escape209/work
MemoryWidget: Ignore Hex checkbox if Float or Double selected
2026-12-04 19:14:21 -06:00
Jordan Woyak 79557c1683 Merge pull request #14923 from acts-1631/netplay-timebase-report-limit
NetPlay: bound pending timebase reports
2026-12-04 18:59:32 -06:00
escape209 3c8b4b5135 MemoryWidget: Ignore Hex checkbox if Float or Double selected 2026-12-05 00:35:24 +00:00
Acts1631 a999f5b3ad NetPlay: validate incoming Wii save metadata
A NetPlay server could claim an unbounded number of Wii save
entries. The client kept appending records after packet extraction
failed, allowing a small packet to exhaust memory.

Validate packet reads, bound counts to the Wii filesystem inode
limit, and reject inconsistent headers and invalid entry types
before applying the save.
2026-12-04 14:45:17 -05:00
Acts1631 89ce909b27 NetPlay: bound pending timebase reports
The server retains timebase reports under client-controlled frame
numbers until every player reports the same frame. A client can send
distinct frames indefinitely and exhaust the host's memory.

Store one report per player for each frame and cap each player's
pending frames at 60. Also reject truncated reports and ignore reports
outside an active game.

Fixes: 04ca54623c
2026-12-04 14:43:34 -05:00
Jordan Woyak 4caa1fe51c Common: Remove SFMLHelper and now unused sf::Packet functions. 2026-12-03 21:27:23 -06:00
Jordan Woyak f2c7dada3b Core/NetPlay: Replace sf::Packet with NetPacket to eliminate dependence on SFML. 2026-12-03 21:27:06 -06:00
Jordan Woyak ed50b4fcab Core/NetPlayProto: Add sf::Packet replacement, NetPacket. 2026-12-03 21:25:21 -06:00
debug687 e841ddee16 Netplay: Zero-initialize packet-relay structs 2026-12-04 00:32:46 +00:00
Admiral H. Curtiss 44f6a703cb Merge pull request #15081 from sepalani/wfs-memset
WFSSRV: Fix Memset parameters being swapped
2026-12-03 00:31:43 +01:00
Jordan Woyak 6b78bcf360 Merge pull request #15071 from JosJuice/android-remove-custom-driver-check
Android: Allow custom drivers regardless of GPU vendor
2026-12-02 15:13:07 -06:00
Sepalani 162cba1fcd WFSSRV: Fix Memset parameters being swapped 2026-12-01 10:00:56 +04:00
JosJuice 7378459c53 Merge pull request #15054 from JosJuice/dolreader-oversized-sections
DolReader: Fix booting Game Boy Interface
2026-11-29 20:53:12 +01:00
JosJuice 1c5badadc4 Merge pull request #15050 from JosJuice/android-menu-hotkey
Android: Add hotkey for opening the emulation menu
2026-11-29 10:17:09 +01:00
Jordan Woyak 89799f7b09 Merge pull request #15039 from jordan-woyak/remove-redundant-audio-backends
AudioCommon: Remove redundant audio backends.
2026-11-28 16:41:43 -06:00
JosJuice 847ac88a9f Android: Allow custom drivers regardless of GPU vendor
We originally only supported loading custom GPU drivers on Adreno
devices, but a8fc326 made us also show the custom GPU driver option on
Mali devices. Now I have found out from a user that custom GPU drivers
are also available for Xclipse. I think we should just remove the check
for what GPU the device has.
2026-11-27 21:26:00 +01:00
JosJuice 541b52b66a DolReader: Fix booting Game Boy Interface
This reverts a validity check that was added as small part of aabde19.
Now Game Boy Interface successfully boots again.
2026-11-27 19:01:48 +01:00
JosJuice 44a1e006d1 Merge pull request #14806 from SuperSamus/regcache-data-oriented
JitRegCache: Refactor using a data oriented design
2026-11-25 22:21:44 +01:00
JosJuice c06440f5da Merge pull request #15051 from JosJuice/android-update-online-after-disc
Android: Fix online system update after disc system update
2026-11-25 22:21:31 +01:00
Jordan Woyak 0318069674 Merge pull request #15018 from jordan-woyak/spsc-queue-node-array
Common/SPSCQueue: Hold an array of values in each linked node to make SPSCQueue of u8 practical.
2026-11-23 22:56:09 -06:00
Jordan Woyak f1c89c5110 Merge pull request #15049 from jordan-woyak/cubeb-logging
AudioCommon/CubebUtils: Fix LogCallback when invoked from rust code.
2026-11-22 12:24:18 -06:00
JosJuice 5e03c37c6b Android: Add hotkey for opening the emulation menu
In the future, I would like to refactor HotkeyManager to give us a nice
way to have Android-exclusive hotkeys without relying on ifdefs. But I
want to get this one Android-exclusive hotkey into Dolphin before the
next release anyway, because this is one of the most requested hotkeys,
if not the most requested hotkey.
2026-11-22 18:03:09 +01:00
Martino Fontana 1704baf53b JitRegCache: Also make the constraints data oriented
`RCConstraints::IsAnyConstraintActive()` was extremely inefficient.
It could be argued that, since it's only used in ASSERTs, they could have been changed to DEBUG_ASSERTs.
But with this, we can have them in release builds with little performance impact.

Also, the implementations of `RCConstraints` are moved to the header files, since they tend to be short and thus inline well.

All the low-hanging performance improvements for the register cache are now fixed, with profiling percentages being at expected values.
(Though more micro-optimizations are possible.)
2026-11-22 17:17:04 +01:00
Martino Fontana b23f8d91b0 JitRegCache: Refactor using a data oriented design
Replace the "array of structure" design with a "structure of array". Boolean members are represented by a bitset.
The main benefit is that filtering the registers in regcache operations can be done in one simple bitwise instruction.
This is especially useful on `Flush`, as callers don't need anymore to limit the iterated registers for performance reasons.

The change only applies to the x86 regcache.
2026-11-22 17:17:03 +01:00
JosJuice fd8d402791 Merge pull request #14998 from dokslade/jitarm64-fctiw-nan
JitArm64: Convert NaN to 0x80000000 in fctiwx
2026-11-22 15:58:02 +01:00
JosJuice c513c109fa Android: Fix online system update after disc system update
This bug has been in Dolphin for a while now. If you installed a system
update from a disc, attempting to do an online system update afterwards
would result in Dolphin doing a disc update again because the disc path
was never cleared.
2026-11-22 11:24:39 +01:00
Jordan Woyak f4781d11bd AudioCommon/CubebUtils: Fix LogCallback when invoked from rust code. 2026-11-21 18:24:36 -06:00
Jordan Woyak 17d24c62d8 Common/SPSCQueue: Hold an array of values in each linked node to make SPSCQueue of u8 practical. 2026-11-21 15:28:29 -06:00
Jordan Woyak 2b62267541 ControllerInterface/SDL: Replace empty string comparisons with .empty() function calls to fix clang-tidy warnings. 2026-11-21 15:05:45 -06:00
Jordan Woyak 737fd4cbb0 ControllerInterface/SDL: Use jthread/stop_token to clean up hotplug thread shutdown and eliminate some members.
Also rename the thread since the name was too long for Linux and "Thread" is redundant.
2026-11-21 15:05:45 -06:00
Jordan Woyak 6071d649e7 ControllerInterface/SDL: Fix SDL_RegisterEvents error handling. It returns 0 on error, not -1. 2026-11-21 15:00:43 -06:00
Jordan Woyak 646e8912d1 ControllerInterface/SDL: Remove SDL_UpdateGamepads call. It's unnecessary since we're polling events. 2026-11-21 15:00:43 -06:00
Jordan Woyak b2c2c21e58 Merge pull request #15008 from jordan-woyak/wm-real-remove-config-change-callback
HW/WiimoteReal: Fix crash when UI disconnects a Balance Board.
2026-11-20 22:11:45 -06:00
Jordan Woyak 7dac5ec790 Merge pull request #14985 from jordan-woyak/log-manager-minor-optimizations
Common/Logging: Minor cleanups and optimizations.
2026-11-20 19:37:06 -06:00
Jordan Woyak 6d85d1c50b Merge pull request #15045 from JoshuaVandaele/installer-i-hardly-know-her
Remove installer leftovers
2026-11-20 19:36:36 -06:00
Joshua Vandaële 38b8815c2f Remove installer leftovers 2026-11-20 04:31:37 +01:00
Jordan Woyak ea55bd0df7 AudioCommon: Remove PulseAudio audio backend. 2026-11-19 21:20:53 -06:00
Jordan Woyak 2c2f33519a AudioCommon: Remove ALSA audio backend. 2026-11-19 21:20:53 -06:00
Acts1631 fbe996f380 InputCommon: validate dynamic texture regions
Dynamic input texture JSON could specify rectangles outside the base
image. CopyImageRegion then wrote replacement pixels beyond the
destination vector, allowing a crafted local texture pack to corrupt
the heap.

Validate coordinates and image bounds at the parser and caller. Make
CopyImageRegion independently reject invalid source or destination
ranges.
2026-11-19 09:38:28 -05:00
Jordan Woyak 2fe1628662 Merge pull request #14973 from jordan-woyak/cubeb-backend-selection
CubebUtils: Allow selecting the backend that Cubeb uses.
2026-11-18 13:26:48 -06:00
Jordan Woyak 438b557ac3 Merge pull request #15037 from JoshuaVandaele/ra-off-fix
InterfacePane: Fix regressions introduced in #14760
2026-11-18 02:01:47 -06:00
JMC47 21355ea0c5 Merge pull request #14995 from Tilka/ax_fixes
AX: fix three bugs
2026-11-17 22:02:26 -05:00
Joshua Vandaële f9fcde943c InterfacePane: Fix regressions introduced in #14760 2026-11-18 03:22:48 +01:00
Jordan Woyak 1f32d345e2 DolphinQt: Update the microphone device lists on config change to handle different audio backend selections. 2026-11-17 13:22:28 -06:00
Jordan Woyak 2281d37b0c DolphinQt: Refresh audio routing device lists on backend change. 2026-11-17 13:03:41 -06:00
Jordan Woyak 65b97f5049 DolphinQt/Config: Add SetOptions function to ConfigStringChoice. 2026-11-17 13:03:41 -06:00
Jordan Woyak d1f208481c DolphinQt: List the Cubeb backends in the Audio settings pane. 2026-11-17 13:03:41 -06:00
Jordan Woyak a906348b91 CubebUtils: Add functions to get a list of supported backend names and the display name for a backend. 2026-11-17 13:03:41 -06:00
Jordan Woyak 2e0a63c918 CubebUtils: Initialize Cubeb based on the configured audio backend even when it's set to just "Pulse" or "ALSA". 2026-11-17 13:03:41 -06:00
Jordan Woyak eaad965f57 AudioCommon: Allow MAIN_AUDIO_BACKEND to optionally specify the Cubeb backend after a slash. e.g. "Cubeb/wasapi". 2026-11-16 18:04:59 -06:00