summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2026-10-03Merge pull request #14879 from jordan-woyak/infinity-window-adjustmentsAdmiral H. Curtiss
DolphinQt/InfinityBaseWindow: Minor adjustments.
2026-10-03Merge pull request #14797 from acts-1631/security/netplay-buffer-limitAdmiral H. Curtiss
NetPlay: reject oversized input buffer messages
2026-10-03Merge pull request #14812 from JoshuaVandaele/correct-env-localeJosJuice
Fix crashes when using `std::locale{""}` with an invalid LC_ALL
2026-10-03VideoCommon: Option for byte to memset in RAM when `EFBToTextureEnable = True`Martino Fontana
The main use case is for games that in theory should be compatible with `EFBToTextureEnable = True`, as the CPU never reads the EFB texture and only writes to it completely. However, if what the CPU writes is only zeros, if the texture in RAM was already zeros then Dolphin wouldn't notice the change in RAM and thus wouldn't invalidate the texture in VRAM. This happens in Rhythm Heaven Fever, and with this change it doesn't require `EFBToTextureEnable = False` anymore. But there are other use cases, like setting a clear value that is closer to what the EFB copy would be, like in Excite Truck. (`EFBToTextureEnable` is still `False` by default.) Other games are more subjective (and not changed here): for instance Mario Kart Wii samples the EFB copy to decide whether to display a sun flare. Currently with `EFBToTextureEnable = True` (default) it will never be shown, but maybe someone would prefer for the flare to always be shown, even behind walls. The option currently only supports setting a single byte (that will be memset to the entire texture), as setting a color would be more complex given that a texture can be in multiple formats, and there is no use case (yet) for it.
2026-10-03Merge pull request #14328 from JoshuaVandaele/choices-fixJordan Woyak
DolphinTool: Show choices as metavars, and don't lie about defaults
2026-10-02Merge pull request #14772 from sepalani/mic-cleanupJordan Woyak
EXI_DeviceMic: Cleanup and small improvements
2026-10-02USB Gecko: Split transfer and receive locks & verify sent amountVampireFlower
2026-10-02Optimize USB Gecko EmulationVampireFlower
2026-10-02GBAPadEmu: Make GBAPad::GetInput use actual GBA button values rather than ↵Jordan Woyak
have SI_DeviceGBAEmu translate bits from GCPad to GBA.
2026-10-02NetPlay: reject oversized input buffer messagesActs1631
A NetPlay host could send an arbitrary buffer size to a client. The client then tried to allocate input states until it reached that value. Limit buffer sizes to the existing user-interface maximum. Invalid peer values are ignored.
2026-10-02Merge pull request #14863 from brad0/openbsd_getexecpathAdmiral H. Curtiss
Implement File::GetExePath() for OpenBSD with getexecpath()
2026-10-02Merge pull request #14900 from VampireFlower/assembler-fixAdmiral H. Curtiss
Assembler: Fix crash from assembling malformed source
2026-10-02Merge pull request #14590 from jordan-woyak/mmu-256-mem2JMC47
PowerPC/MMU: Change mask in DMA_LCToMemory and DMA_MemoryToLC functions to allow for a 256MiB MEM2.
2026-10-02Merge pull request #14860 from JoshuaVandaele/inputsyntax-nodecimalJordan Woyak
Input Syntax: Add floor, ceil, round, and trunc functions
2026-10-02Merge pull request #14880 from ICEREG1992/GBARoutingJMC47
Integrated GBA Audio Routing
2026-10-01ArmCPUDetect: check elf_aux_info() return value in ReadHwCapBrad Smith
Handle failure explicitly instead of relying on the initial value. No functional change.
2026-09-30Vulkan: Fetch driverVersionJosJuice
For use with DriverDetails.
2026-09-30Assembler: Fix crash from assembling malformed sourceVampireFlower
2026-09-27Traversal: update pending-packet time on socket timeoutActs1631
Pending traversal packets were only expired after receive events. If a client did not acknowledge a response and no more packets arrived, the server retained the pending entry indefinitely. Update the current time before handling socket timeouts. Pending packets will then retry and expire while the server is idle.
2026-09-27MemArenaDarwin: Eliminate use of mach_make_memory_entry_64OatmealDome
2026-09-26Jit64: Merge m_exception_handler_at_loc in TrampolineInfoMartino Fontana
If MMU is enabled, there's an m_exception_handler_at_loc entry for almost every entry in m_back_patch_info, so keeping them separate is a huge waste: hashmaps aren't free. Brings a decent improvement to codegen performance when MMU is enabled. If MMU is disabled, however, this increases the size of TrampolineInfo by 8 bytes. It's a little sad, but it's important to prioritize the worst-case performance. Also, it simplifies the next commit, which will reduce the memory usage anyway.
2026-09-24Merge pull request #14887 from SuperSamus/statistics-unsigned-membersAdmiral H. Curtiss
VideoCommon/Statistics: Use unsigned int where appropriate
2026-09-24VideoCommon/Statistics: Use unsigned int where appropriateMartino Fontana
Some poorly coded games are able to overflow some statistics (e.g. Jimmy Neutron: Boy Genius's title screen). While funny, signed integer overflow is undefined behavior, and while in practice here it's extremely unlikely to cause issues, it's still better to avoid it.
2026-09-21PowerPC/MMU: Changed mask in DMA_LCToMemory and DMA_MemoryToLC functions to ↵Jordan Woyak
allow for a 256MiB MEM2. Also adjusted maximum value for MEM2 to 256 MiB for Qt and Android UIs.
2026-09-21Merge pull request #14883 from AdmiralCurtiss/zelda-hle-voice-flagsJosJuice
DSPHLE/Zelda: Add bounds check for m_sync_voice_skip_flags in RenderAudio()
2026-09-21Merge pull request #14882 from JosJuice/gci-folder-block-indexJosJuice
GCMemcardDirectory: Add bounds check for m_save_data
2026-09-20DSPHLE/Zelda: Add bounds check for m_sync_voice_skip_flags in RenderAudio()Admiral H. Curtiss
2026-09-20Merge pull request #14833 from JosJuice/state-nand-tasJosJuice
IOS/FS: Fix loading savestate while TASing
2026-09-20GCMemcardDirectory: Check if UsesBlock result is non-negativeJosJuice
The only negative result UsesBlock can return is -1, so this change doesn't affect anything in practice, but makes the intent a little bit clearer.
2026-09-20Integrated GBA Audio RoutingWilliam Sullivan
2026-09-20GCMemcardDirectory: Add bounds check for m_save_dataJosJuice
2026-09-20IOS/FS: Fix loading savestate while TASing, part 2JosJuice
When calling CreateDirectory for /wfs, we were passing a UID of 19, because that is the UID /wfs is supposed to have. However, CreateDirectory returns AccessDenied if we try to create a directory in the root using a UID other than 0. To fix this, let's use UID 0 to create the directory, and then change the UID and GID afterwards using SetMetadata. This is what the ESCore constructor does, which is the piece of code that normally creates /wfs.
2026-09-20IOS/FS: Fix loading savestate while TASing, part 1JosJuice
When TASing, we savestate not just /tmp but also /. The code that was added in d35fe1b didn't handle recreating / correctly. This commit fixes the problem by skipping recreating /, which is fine since it always exists.
2026-09-20Merge pull request #14867 from brad0/openbsd_build_fixJosJuice
Fix building on OpenBSD
2026-09-18DolphinQt/InfinityBaseWindow: Minor adjustments.Jordan Woyak
2026-09-18android: clear default Hotkeys for Androidvisarhoxha
2026-09-17Merge pull request #14868 from JoshuaVandaele/index-regressionAdmiral H. Curtiss
NetPlayIndex: Fix regression introduced in #14738
2026-09-17Merge pull request #14869 from cristian64/ram_override_iosAdmiral H. Curtiss
Core: Fix RAM override setup in IOS.
2026-09-17Merge pull request #14832 from JoshuaVandaele/windeployqt-fixAdmiral H. Curtiss
DolphinQt: Properly define QtPaths
2026-09-15Core: Fix RAM override setup in IOS.cristian64
This is a correction for 0cab1731d6 (part of #14665), where it was overlooked that the condition to enable the RAM override was flawed: if the user had enabled the emulated memory size override in Dolphin, but the running game did not define a simulated memory size greater than the retail memory size, the RAM override in IOS was wrongly misconfigured, causing issues with Wii games. Test plan: - Launch Dolphin. - In the **Settings > Advanced** section, tick the **Enable Emulated Memory Size Override** check box, and set the maximum memory size for both **MEM1** and **MEM2** (i.e. 64 MiB and 128 MiB respectively). - Play any Wii game (e.g. _Mario Kart Wii_ (RMCE01)). **Without** the patch, the emulator will hit an invalid read from `0x83FEE78C` at `0x8019FE6C`: <img alt="Invalid read when starting Wii game after having enabled the emulated memory override in Dolphin" title="Invalid read when starting Wii game after having enabled the emulated memory override in Dolphin" src="https://github.com/user-attachments/assets/1777485e-a421-4303-8d3d-dd49f1aaa9bf" /> **With** the patch, the emulator can execute the game as usual.
2026-09-15NetPlayIndex: Fix regression introduced in 14738Joshua Vandaële
For some reason, #14738 removed the headers and allowed return codes which broke using the Netplay index for users. Also, bools converted to a string using std::to_string would become 0/1, while fmt::format by default turns them into false/true, which also broke the index.
2026-09-15Fix building on OpenBSDBrad Smith
- OpenBSD does not have SO_NOSIGPIPE - Enable some socket related code in AMMediaboard.cpp on OpenBSD
2026-09-15Implement File::GetExePath() for OpenBSD with getexecpath()Brad Smith
2026-09-11Input Syntax: Add floor, ceil, round, and trunc functionsJoshua Vandaële
2026-09-07RetroAchievements - Fix Achievement Progress ToggleLillyJadeKatrin
The RA_PROGRESS_ENABLED flag was added but not currently being invoked, this makes sure it is checked before popping up progress messages.
2026-09-06Revert "VideoCommon: Use correct size for PE token"Link Mauve
This reverts commit e4349ae1791dec688d91c6813eeadf049a8c73ec. The 0x prefix is included in the characters count (unlike e.g. in Rust where there is no 0x prefix), so that commit was wrong. Sorry about that! Fixes regression introduced in #14842.
2026-09-05Merge pull request #14817 from JosJuice/android-netplay-versionDentomologist
Common: Add Android to GetNetplayDolphinVer
2026-09-06Merge pull request #14789 from phire/optimise_vs_uidScott Mansell
Optimize vertex_shader_uid_data down to 28 bytes
2026-09-06Merge pull request #14843 from linkmauve/better-dff-error-messageScott Mansell
Core: Improve error message on empty dff
2026-09-06Merge pull request #14842 from linkmauve/pe-token-2-bytesScott Mansell
VideoCommon: Use correct size for PE token