summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2026-02-15AMMediaboard: Translate between guest and host FDs to fix ↵Jordan Woyak
AMMBCommand::Select behavior.
2026-02-15Common/BitUtils: Make SetBit constexpr.Jordan Woyak
2026-02-15AMMediaboard: Fix value in s_mediaboard_ranges array.Jordan Woyak
2026-02-15AMMediaboard: Use SetPlatformSocketOptions and SEND_FLAGS.Jordan Woyak
2026-02-15Common: Add SetPlatformSocketOptions function and SEND_FLAGS constant to ↵Jordan Woyak
Network.h to deal with OS-specific SIGPIPE behavior.
2026-02-15SI_DeviceAMBaseboard: Fix log issues related to GeneralDriverOutputSepalani
2026-02-15SI_DeviceAMBaseboard: Add missing bounds checksSepalani
VolumeDisc: Fix Triforce's GetGameID memcpy by checking MakerID's size
2026-02-15Triforce: Fix remaining issuesSepalani
2026-02-15AMMediaboard: Fix several warningsSepalani
2026-02-15SI_DeviceAMBaseboard: Improve bounds checkingSepalani
2026-02-15SI_DeviceAMBaseboard: Add validate_jvs_io helperSepalani
2026-02-15SI_DeviceAMBaseboard: Improve logging and validation edge casesSepalani
2026-02-15SI_DeviceAMBaseboard: Add validate_data_in_out helperSepalani
2026-02-15AMBaseboard: Convert union ICCommand into structSepalani
2026-02-15Triforce: Address some logging and error checksSepalani
2026-02-15Triforce: Minor cleanups related to coding style and documentationSepalani
2026-02-15AMMediaboard: Replace magic number 15 with a MAX_IPV4_STRING_LENGTH constant.Jordan Woyak
2026-02-15AMMediaboard: Add NetworkCMDBufferCheck calls for reading of timeout in ↵Jordan Woyak
Select commands.
2026-02-15Triforce: Warning silencing and other minor cleanups.Jordan Woyak
2026-02-15Triforce: Code fixes.crediar
Fixed a bug caused by static usage of Core::System::GetInstance() Removed unused headers Removed unneeded code Optimised code Added sanity checks Added SafeCopyFromEmu/SafeCopyToEmu Set Triforce buttons to be translatable
2026-02-15Triforce: Optimized codecrediar
Removed unneeded code Removed unused code Added EINPROGRESS to fix networking on Linux systems Added function NetworkBufferCheck and NetworkCMDBufferCheck to verify buffer sizes Added NetworkCMDBufferRead/NetworkCMDBufferWrite/NetworkBufferRead/NetworkBufferWrite Added multiply buffer size checks Rewrote GetGameType() Moved AMMediaboard::Shutdown to DVDInterface::Shutdown() Changed JVSIOMessage overrun check Changed SwapBuffers function to be a member function Added sanity checks for buffer sizes Added translation prefix for Triforce buttons Updated text for misconfigurations when trying to boot normal games with Triforce hardware connected Fixed NAMCAM for Mario Kart GP
2026-02-15Triforce: Code cleanups.Jordan Woyak
2026-02-15DiscIO: Make Volume::DecodeString take a std::span so it can work with ↵Jordan Woyak
std::array.
2026-02-15Added Triforce supportcrediar
2026-02-15Add classic controller support code for RUUE01 - Animal Crossing: City Folk ↵spaceage64
(NTSC-U) Added control scheme to codes. Split .ini files based on Rev 0/1. Added controller mapping instructions. Added other regions and removed redundant lines. Added Grass Deterioration cheats. Changed wording regarding Right Stick variant. Removed credits from RA Verified list. Update ApprovedInis.json from PatchAllowlist test. Updated approved list hash to match AchievementManager. Attempted to fix the approved hash list again. Update approved INI list and PatchAllowlist verification data
2026-02-15Jit: Emit Branch Watch code only if it's enabledMartino Fontana
JIT code related to Branch Watch was emitted if the debugging UI was active: the emitted code would dynamically check whether Branch Watch is active. However, this causes two problems: 1. It decreases performance by just having the debugging UI enabled 2. It clutters the host assembly in the JIT tab, making it harder to read (unaware readers will wonder what these instructions are for) With this PR, code related to Branch Watch is emitted only if Branch Watch itself is active, fixing the issues above. The JIT cache will now be wiped whenever the feature is toggled, causing a slight stutter. However, this isn't the kind of feature that is toggled over and over, so IMO it is an acceptable trade-off.
2026-02-15Merge pull request #14385 from dreamsyntax/cpu-clock-maxJMC47
Qt/Android: CPU Clock Override max to 500%
2026-02-14CheatsManager: Update code tabs on creationDentomologist
Call `OnStateChanged` when creating CheatsManager to update the AR and Gecko code tabs with codes for the currently running game (if any). Previously, creating CheatsManager while a game was running wouldn't show any codes until the next time the core state changed (excluding Starting or Stopping which had no effect). Fixes https://bugs.dolphin-emu.org/issues/13977.
2026-02-14Merge pull request #12917 from JosJuice/transfer-sysconf-controlDentomologist
Explicitly transfer control of SYSCONF to emulated system
2026-02-14Merge pull request #14329 from JosJuice/android-hotplugJosJuice
Android: Rework input device hotplug
2026-02-14Explicitly transfer control of SYSCONF to emulated systemJosJuice
The functions SaveToSYSCONF and LoadFromSYSCONF contain checks for whether emulation is running. The intent of this is that when we're emulating a Wii, the emulated system may write to SYSCONF whenever it likes and does not expect anything else to write to SYSCONF, so the host code shouldn't access SYSCONF while emulation is ongoing. However, Core::IsRunning is an imperfect proxy for whether we've handed over control of SYSCONF to the emulated system yet, as the actual handover happens at a slightly different point in time than when the emulation state is changed. This usually isn't a problem, but in theory it could be a determinism problem if a setting is changed right as emulation is starting, or it could cause the emulated software to briefly misbehave if a setting is changed right as emulation is stopping. Things got worse in 72cf2bdb87f09deff22e1085de3290126aa4ad05 when I replaced the Core::IsRunning calls with !Core::IsUninitialized. With IsRunning, there was be a period of time where SYSCONF should have been protected but wasn't. With !IsUninitialized, there was a period of time where SYSCONF shouldn't have been protected but was, and crucially, this period of time included the moments where we do setup and teardown of the emulated NAND, which broke transferring SYSCONF settings between the host and the guest. 72cf2bdb87f09deff22e1085de3290126aa4ad05 was reverted because of this. This commit adds a flag that we explicitly flip when control is handed over to or from the emulated system. This protects the SYSCONF file for exactly as long as is needed.
2026-02-13Cheat Search: Add ability to delete items and fix duplicate commands when ↵TryTwo
multiple row items are selected. Changes it to select rows then extracts one item from each row to operate on. The behavior and data across each item in a row was already identical, so using rows doesn't change anything.
2026-02-13VideoCommon: Invert interaction between Arbitrary Mipmap Detection and GPU ↵Martino Fontana
Texture Decoding (the former disables the latter) Split from #14293. It makes sense for a setting that changes visual output to have priority over a setting that barely makes any difference.
2026-02-12Qt/Android: CPU Clock Override max to 500%dreamsyntax
2026-02-11Merge pull request #14342 from sepalani/hdr-micJosJuice
IOS/USB: Add missing vector header in Emulated/Microphone.h
2026-02-11IOS/USB: Add missing vector header in Emulated/Microphone.hSepalani
2026-02-11EXI_Device: Add missing include for PanicAlertFmtTSepalani
2026-02-10ChunkFile: Prevent PointerWrap::Do(T&) from compiling with pointers.Jordan Woyak
2026-02-08Android: Rework input device hotplugJosJuice
Previously, when an input device was connected or disconnected, we would recreate all devices. This commit makes it so we only touch the relevant device instead. This matters because recreating a device causes us to drop all held buttons for that device. Due to Android only delivering inputs as events, we're unable to poll for currently held buttons when recreating a device. This recently became a problem for users of Ayn devices due to a firmware update. Every now and then, something about the display viewports changes, triggering an update to an input device that I assume is a touch input device. This input device isn't something users normally map in Dolphin's controller settings, but it changing was causing Dolphin to drop all held buttons for the device's built-in gamepad as well as any other connected gamepads.
2026-02-08Misc: fix compiler warning: implicit declaration of functionoltolm
2026-02-06Merge pull request #14311 from LillyJadeKatrin/retroachievements-aliasesDentomologist
RetroAchievements - Fix Aliases
2026-02-06PerformanceMetrics: Clamp graph minimum auto sizeDentomologist
Add a minimum value for the automatic size of the performance metrics graph. The graph can still be manually resized smaller than this limit. This prevents the graph from automatically resizing itself to be too small to contain the full graph and legend, which happened when using native resolution with `Auto-Adjust Window Size` enabled.
2026-02-06PerformanceMetrics: Fix automatic graph resizingDentomologist
Fix a bug causing the performance graph to not resize when the render window changed size: * When changing the render window size during emulation the performance graph wouldn't update its size until the next emulation session. * When changing the render window size with no emulation active (by changing the Internal Resolution with Auto-Adjust Window Size enabled) the performance graph wouldn't update its size until the second emulation session after the change. Before explaining why the bug happened, here are some details about Dear ImGui (henceforth ImGui) for context: * In order to allow programs to specify initial ImGui window sizes while also allowing the user to resize them, `SetNextWindowSize` takes a flag from the `ImGuiCond_` enum specifying under what circumstances that function should actually have any effect. * ImGuiCond_FirstUseEver causes ImGui to only apply the command when the window doesn't have any saved size information for that session or in the ini file specified by `ImGui::GetIO().IniFilename`. Since we set that filename to `nullptr`, in practice the resize command is applied on the first frame of each ImGui/emulation session. * Qt saves the most recent size of the render window across emulation (and even Dolphin) sessions, which is then used to set the initial value of `ImGui::GetIO().DisplaySize` in the next emulation session. * It takes multiple frames for the size of the render window to update when changed by setting the internal resolution. This means that `ImGui::GetIO().DisplaySize` will have a stale value in the intervening frames, and specifically for the first few frames of emulation if the resolution was changed beforehand. When changing the resolution during emulation the call to `SetNextWindowSize` had no effect because of the `ImGuiCond_FirstUseEver` flag. `DisplaySize` would be updated several frames later, and then the next emulation session would update the graph size on its first frame. When changing the resolution outside emulation and then starting a game, the call to SetNextWindowSize on the first frame took effect but used the stale value of `DisplaySize`. `DisplaySize` would be updated a few frames later, but the graph wouldn't be resized until the first frame of the second emulation session. This commit fixes the issue by using the `ImGuiCond_Always` flag in the performance graph's call to `SetNextWindowSize` when the render window size changes.
2026-02-06PerformanceMetrics: Add padding below graphDentomologist
Add vertical padding between the performance graph (when it's enabled) and the FPS/VPS/Speed overlays.
2026-02-06Merge pull request #14326 from sepalani/ico-wii-speakJMC47
WiiSpeakWindow: Add missing Dolphin icon
2026-02-06Merge pull request #14315 from Gabriela-Orzechowska/fix_riivo_paramsAdmiral H. Curtiss
RiivolutionParser: Fix XML Param Parsing
2026-02-06RiivolutionParser: Fix XML Param ParsingGabriela Orzechowska
2026-02-06WiiSpeakWindow: Add missing Dolphin iconSepalani
2026-02-04Merge pull request #13768 from JosJuice/page-table-fastmem-2JMC47
Core: Create fastmem mappings for page address translation
2026-02-04UnitTests: Add PageTableHostMappingTestJosJuice