Commit Graph
39269 Commits
Author SHA1 Message Date
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 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
Jordan Woyak 8169c72ce6 CubebUtils: Initialize cubeb_device_collection objects to avoid UB inside cubeb enumerate_devices calls on failure. 2026-11-16 18:04:59 -06:00
Jordan Woyak 5140482a6f Merge pull request #15026 from dokslade/ogl-screenshot-offset
VideoCommon: Fix OpenGL screenshots of partial XFB copies
2026-11-16 18:03:02 -06:00
JosJuice c5069249b4 Merge pull request #15027 from SuperSamus/regcache-small-cleanup
JitRegCache: Small cleanup
2026-11-16 20:46:42 +01:00
JosJuice 0a6ed419eb Merge pull request #14760 from JoshuaVandaele/hardcore-state
Settings: Simplify debug mode
2026-11-16 20:38:01 +01:00
Jordan Woyak d5a4f48d9b Merge pull request #14774 from sepalani/mic-dedup2
Refactor the GameCube microphone code
2026-11-16 12:24:20 -06:00
Joshua Vandaële e9da2a4832 Settings: Simplify debug mode
We now just pass a signal to tell the UI that hardcore mode has been turned on/off, and we replace Settings::IsDebugModeEnabled with Config::IsDebuggingEnabled, which always returns false if hardcore is on.
2026-11-16 01:01:12 +01:00
Jordan Woyak 2d451da728 Merge pull request #14276 from JoshuaVandaele/mo-config-controls
Use more ConfigControls
2026-11-15 17:32:18 -06:00
Jordan Woyak 545bf5d5cc Merge pull request #15004 from dokslade/interp-addme-carry
Interpreter: Fix addme/subfme carry and share add/subtract code
2026-11-15 16:56:08 -06:00
Jordan Woyak 4f9d60d80e Merge pull request #15025 from dokslade/elf-mem1-filter
Boot: Restore MEM1 filtering of IOS ELF segments
2026-11-15 16:48:38 -06:00
Martino Fontana e9517cfea2 JitRegCache: Init emitter in constructor 2026-11-15 22:31:06 +01:00
Martino Fontana 2f6b10035d JitRegCache: Rename "default location" to "PPC State"
More intutive name, and more consistent with ARM's RegCache.
2026-11-15 22:31:06 +01:00
Martino Fontana 3e33294292 JitRegCache: Don't store m_default_location
The register cache is inconsistent in using that or getting it from `GetDefaultLocation(preg_t preg)`.
Considering how simple that function is, let's only use that and remove some state.
2026-11-15 22:31:06 +01:00
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