Commit Graph
46417 Commits
Author SHA1 Message Date
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
Jordan Woyak 85e0ef8415 Merge pull request #15042 from acts-1631/dynamic-texture-region-bounds
InputCommon: validate dynamic texture regions
2026-11-19 21:19:46 -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
Jordan Woyak 19018c4239 Merge pull request #14982 from JoshuaVandaele/cubeb-rs
Update cubeb to HEAD, use Rust if available
2026-11-15 19:05:43 -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
Joshua Vandaële 1e616ee2a4 Update cubeb to HEAD, use Rust if available
The PulseAudio and AudioUnit backends, (as well as the WASAPI backend in the future) now use Rust. We currently rely on the legacy C/C++ implementations which are deprecated and scheduled to be removed in a future version. If Cargo (Rust's package manager) is present on the system, we now build cubeb with the new implementations.
2026-11-16 00:05:21 +01:00
Joshua Vandaële 126e725e6d CMake: Set up FetchContent for Externals 2026-11-16 00:05:21 +01: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
JosJuice 19d0dfb0a9 Merge pull request #14834 from JosJuice/jitarm64-small-fixupbranch
Arm64Emitter: Make FixupBranch smaller
2026-11-15 18:54:32 +01:00
dok.slade c6c57d5709 VideoCommon: Fix OpenGL screenshots of partial XFB copies
ScaleTexture flipped its rectangles for backends with a lower-left
origin, but textures are stored top row first and the copy shader
keeps the row order, so the flip is only a no-op for full rectangles.
With a sub-rectangle, OpenGL frame dumps and screenshots read the
bottom of the texture instead of the top, and came out shifted up with
a black band at the bottom.

Pass the rectangles through unchanged. Other backends and callers using
full rectangles are not affected.

Fixes https://bugs.dolphin-emu.org/issues/12286
2026-11-15 14:24:38 +00:00
Martino Fontana c73fcc1530 Jit64: More intuitive register reversion 2026-11-15 13:00:33 +01:00
dok.slade d706251c3e Boot: Restore MEM1 filtering of IOS ELF segments
Since PR #14115, writeAddr is p_paddr | 0x80000000, so comparing it against
the physical RAM size skipped every segment and broke booting MIOS
(GameCube discs from the Wii Disc Channel).

Mask to the physical address before comparing.

Fixes https://bugs.dolphin-emu.org/issues/14176
2026-11-15 12:36:01 +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
Tillmann Karras 83f79b4336 AX: rename ITD fields (NFC) 2026-11-14 23:25:53 +00:00
Tillmann Karras f86f32a6f2 AX: rename ADD/SUB_TO_LR commands (NFC) 2026-11-14 23:25:53 +00:00
Tillmann Karras 18b7af84df AX: fix GC surround bug 2026-11-14 23:25:53 +00:00
Tillmann Karras abeb94c457 AX: fix Wii surround bug 2026-11-14 23:21:34 +00:00
Tillmann Karras 3837bc7c75 AX: always set de-pop values on Wii 2026-11-14 22:44:44 +00:00
Jordan Woyak ce74dde6e8 Merge pull request #15023 from jordan-woyak/rs2-remove-ws-code
GameSettings: Remove broken Rogue Squadron II widescreen gecko code.
2026-11-14 15:44:09 -06:00
Jordan Woyak 542cce7ac1 GameSettings: Remove broken Rogue Squadron II widescreen gecko code. 2026-11-14 15:03:35 -06: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 44e0c5663a Merge pull request #15022 from hamidzr/fixtypos
Fix typos in documentation
2026-11-13 16:08:03 -06:00
Hamid Zare c1e405f030 Fix typos in documentation
Signed-off-by: Hamid Zare <12127420+hamidzr@users.noreply.github.com>
2026-11-13 15:01:11 -06:00