summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2026-11-05VideoCommon: error if the same asset id is used with a different typeiwubcode
2026-11-05Core: bound legacy savestate LZO decompressionActs1631
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-05Core: bound FIFO memory updatesActs1631
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-04Core/IOS/Network/Socket: Use a guaranteed monotonic clock instead of ↵Jordan Woyak
high_resolution_clock.
2026-11-04Merge pull request #14794 from JosJuice/android-title-databaseJosJuice
Android: Use TitleDatabase for game list
2026-11-04Merge pull request #14404 from sepalani/tri-closeJosJuice
AMMediaboard: Update closesocket error code approriately
2026-11-03CPU: Fix quickly-stopped games hanging DolphinJoshua Vandaële
2026-11-03EXI_DeviceMic: Start stream when the is_active bit is setSepalani
2026-11-03EXI_DeviceMic: Add microphone settingsSepalani
2026-11-03QtUtils: Add Cubeb VolumeLayout and MicrophonesComboBox helpersSepalani
2026-11-03EXI_DeviceMic: Adapt and use AudioCommon::Microphone interfaceSepalani
2026-11-03Move Microphone classes to AudioCommonSepalani
2026-11-02Merge pull request #14972 from jordan-woyak/paren-init-aggregateJordan Woyak
Minor cleanups with "parenthesized initialization of aggregates".
2026-11-02WiimoteDevice: Don't send output reports to a null HID sourceJoey
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-02Merge pull request #14510 from Ma-Rang/pr/gecko-bind-errorJordan Woyak
EXI: Show on-screen error when USB Gecko fails to bind
2026-11-02EXI: Show on-screen error when USB Gecko fails to bindMa-Rang
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-01Merge pull request #14916 from iwubcode/vertex_manager_draw_refactorJordan Woyak
VideoBackends / VideoCommon: split draw calls into separate commit and render functions
2026-11-01Merge pull request #14941 from debug687/patch-1Jordan Woyak
DolphinQt: Fix crash from stale timer event in ToolTipWidget
2026-11-01Common/TypeUtils: Remove missing `__cpp_aggregate_paren_init` feature ↵Jordan Woyak
workaround.
2026-11-01Core/Debugger: Clean up emplace_back calls with use of "parenthesized ↵Jordan Woyak
initialization of aggregates".
2026-11-01Merge pull request #14704 from JoshuaVandaele/mathutils-23JMC47
MathUtil: C++20/23 modernisations
2026-11-01Merge pull request #14006 from jordan-woyak/speaker-accuracyJMC47
HW/Wiimote: Speaker logic accuracy fixes, comments, and code cleanups.
2026-11-01Merge pull request #14596 from CySlaytor/masteriwubcode
feat(retroachievements): implement achievement notification sounds
2026-11-01feat(retroachievements): implement achievement notification soundsCySlaytor
2026-10-31PerformanceTracker: Small cleanup, properly use RunningVariance for the ↵Martino Fontana
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-31TextureCacheBase: Optimize EFB and XFB uninitializationMartino Fontana
For EFB, optimize the case where bytes_per_row == stride. For XFB, do that, and make sure that autovectorization is used without intrinsics. They were only used on x86, so that should improve performance on ARM. (MSVC ARM specifically will load to register on every iteration, and I give up on this stupid compiler, but it should still be better than before.) For reference, on x86 with SIMD, on a scene that runs at 3000 FPS, this function takes 1.5% of time according to the profiler. I spent way too much time making all the compilers cooperate, and I hate it.
2026-10-31VideoBackends / VideoCommon: split draw calls into separate commit and ↵iwubcode
render steps
2026-10-31CMake: Fix relative pathing when project is importedunexploredtest
2026-10-31Merge pull request #14958 from bmdhacks/mali-custom-driverJosJuice
Vulkan: Allow custom drivers on Mali devices
2026-10-31Merge pull request #14878 from vhoxha08/add-global-hotkeys-androidJosJuice
Android: Add global hotkeys
2026-10-31Merge pull request #14947 from scatterflower/unaligned-store-fixJosJuice
PowerPC/MMU: Use effective address for special-case unaligned stores
2026-10-31Merge pull request #14944 from Sintendo/arm64-mfspr-sxtwJosJuice
JitArm64_SystemRegister: mfspr - Sign extension nit
2026-10-31Merge pull request #14943 from Sintendo/vertex-arm64JosJuice
VertexLoaderARM64: Optimize RGB565 and RGBA6666
2026-10-31Merge pull request #14928 from JosJuice/neon-texture-decoderJosJuice
VideoCommon: Add TextureDecoder_ARM64.cpp
2026-10-31Merge pull request #14930 from jordan-woyak/dev-dolphin-determinismJosJuice
IOS/DolphinDevice: Enable some requests with WantsDeterminism rather than disabling them all.
2026-10-31Merge pull request #14903 from brad0/elf_aux_info_checkJosJuice
ArmCPUDetect: check elf_aux_info() return value in ReadHwCap
2026-10-31Merge pull request #14782 from tygyh/Core/Use-lerp-and-midpointiwubcode
Replace manual calculations with std::lerp and std::midpoint
2026-10-30Merge pull request #14964 from jordan-woyak/scrollable-ppconfig-windowJordan Woyak
DolphinQt: Make individual tabs of PostProcessingConfigWindow scrollable.
2026-10-30Merge pull request #14866 from SuperSamus/efb-to-texture-clear-byteiwubcode
VideoCommon: Option for byte to memset in RAM when `EFBToTextureEnable = True`
2026-10-30DolphinQt: Make individual tabs of PostProcessingConfigWindow scrollable for ↵Jordan Woyak
shaders with too many settings to fit on the screen.
2026-10-28Vulkan: Allow custom drivers on Mali devicesBrian Degenhardt
2026-10-28Jit: Invalidate instruction block cache only with dcbfMartino Fontana
Dolphin uses `dcbi` and `dcbst` as heuristics to invalidate the instruction block cache, as some games do not use `icbi` properly. However, no games are known to depend on this (unfortunately, the commits that introduced it, e03fd9a942e9851ca29b590b99c7f311b043c021 or b27f47148809ff027e7bdfef6cd0a16fb69a69eb, don't give any details). The problem is that some games are known to be negatively affected by the unnecessary invalidation and suffer heavy stutters due to it (NBA Live 2005/06, Harry Potter and the Prisoner of Azkaban). Removing the heuristic for these instructions completely fixes their stutters. `dcbf` also invalidates the block cache, but it's known to fix a crash after loading an area in games developed by Artificial Mind and Movement (Monster House, Scooby-Doo! Mystery Mayhem, Scooby-Doo! Unmasked), so this one is kept. Maybe this is not the best heuristic, but it's one that currently works. Closes https://bugs.dolphin-emu.org/issues/12825.
2026-10-25Merge pull request #14939 from SuperSamus/ppc-analyst-no-strncmpAdmiral H. Curtiss
PPCAnalyst: Avoid using strncmp
2026-10-25Merge pull request #14853 from SuperSamus/jit-trampoline-info-optimizeJosJuice
Jit: Optimize trampoline info allocation
2026-10-25Common/Thread: Remove unused non-Windows INFINITE macro.Jordan Woyak
2026-10-25Common/Thread: Remove unused SwitchCurrentThread function.Jordan Woyak
2026-10-24PPCAnalyst: Avoid using strncmpMartino Fontana
Its usage appears in the profiler, and while small, it's not completely insignificant.
2026-10-24IOS/DolphinDevice: Enable some requests with WantsDeterminism rather than ↵Jordan Woyak
disabling them all.
2026-10-24Merge pull request #14946 from OatmealDome/revert-win-std-chronoiwubcode
Revert "msvc: use std::chrono for GetLocalTimeSinceJan1970"
2026-10-24VertexLoaderARM64: Optimize RGBA6666Sintendo
This commit replaces the old instruction sequence with one that is considerably shorter. Main ideas are as follows: - Use AND with constant mask to isolate the needed bits. - Use ORR + LSL/LSR to shirt the bits into position and combine in one instruction where possible. - Red and alpha are already sequential, so don't need to wait for the byteswap. - Do the expansion from 6 to 8 bits at the end for all 4 components in one step. Before: ldur w14, [x0] rev w14, w14 ubfx w15, w14, #0, #6 orr w15, wzr, w15, lsl #2 orr w15, w15, w15, lsr #6 orr w16, wzr, w15, lsl #24 ubfx w15, w14, #6, #6 orr w15, wzr, w15, lsl #2 orr w15, w15, w15, lsr #6 orr w16, w16, w15, lsl #16 ubfx w15, w14, #12, #6 orr w15, wzr, w15, lsl #2 orr w15, w15, w15, lsr #6 orr w16, w16, w15, lsl #8 ubfx w15, w14, #18, #6 orr w16, w16, w15, lsl #2 orr w16, w16, w15, lsr #4 str w16, [x1, #0xc] After: ldur w14, [x0] rev w15, w14 and w16, w14, #0xfc00 and w14, w14, #0x3f000000 lsr w16, w16, #8 orr w16, w16, w14, lsl #2 and w14, w15, #0xfc0 and w15, w15, #0x3f000 orr w15, w15, w14, lsl #14 orr w16, w16, w15, lsr #2 and w15, w16, #0xc0c0c0c0 orr w16, w16, w15, lsr #6 str w16, [x1, #0xc]