summaryrefslogtreecommitdiff
path: root/Source
AgeCommit message (Collapse)Author
2025-12-15StringUtils: Drop TabsToSpacesSintendo
This function is unused.
2025-12-12mingw: fix use of std::invocable with EnumerateRadiosCraig Carnell
2025-12-12GekkoDisassembler: drop unsupported opcodesTillmann Karras
2025-12-12GekkoDisassembler: fix ps_sel operandsTillmann Karras
2025-12-12GekkoDisassembler: fix conditional twi opcodeTillmann Karras
2025-12-11MainWindow: Fix sscanf type/width specifiers for DWORDCraig Carnell
2025-12-11mingw: replace usages of Interface as clashes with existing structCraig Carnell
2025-12-11CMake: Only copy build_info.txt if autoupdate is enabledJoshua Vandaële
2025-12-11CMake: Use rc and manifests on other targets to match VS ProjectJoshua Vandaële
2025-12-11Build: Remove license.txtJoshua Vandaële
Follow up to #10039 and #9862
2025-12-10mingw: use reinterpret_cast for function→void* conversion to satisfy C++ ↵Craig Carnell
standard
2025-12-10Core/HW: Enable BBA (IPC) in FreeBSD.cristian64
Since v1.4.0, cpp-ipc now supports FreeBSD. This was a limitation that prevented us from enabling compilation on FreeBSD in #13870. Full changelog: https://github.com/mutouyun/cpp-ipc/releases/tag/v1.4.0
2025-12-10mingw: replace SendMessage usage as clashes with existing functionCraig Carnell
2025-12-10Update Comments Based On Hardware TestNuh Uh
Checked on hardware that this bias was not added because I had assumed the other way around would be true, forgot to ask about making a PR for this when I initially had done so
2025-12-09ControllerInterface: Turn off SDL's GameCube controller adapter handling ↵Jordan Woyak
when Dolphin is configured to use the adapter.
2025-12-08Jit64: Explicitly get imm for clobbered storesJosJuice
If we're on an x64 CPU that doesn't have the MOVBE extension, trying to SwapAndStore a host register results in that register's value getting clobbered with the swapped value. Jit64::stX and Jit64::stXx detect this case, and if necessary, emit a MOV to a register that's fine to clobber. This logic was broken by the merge of PR 12134. Jit64::stX and Jit64::stXx were assuming that if RegCache::IsImm returns true for a guest register, calling RegCache::Use or RegCache::BindOrImm for that guest register would result in an immediate. However, PR 12134 made it possible for a guest register to have both a host register and an immediate in the register cache at the same time. When this happens, RegCache::IsImm returns true, yet RegCache::Use and RegCache::BindForImm return an RCOpArg whose Location returns a host register. (To make it extra confusing, RCOpArg::IsImm calls RegCache::IsImm if the RCOpArg came from RegCache, so RCOpArg::IsImm returns true!) To fix this, in cases where Jit64::stX and Jit64::stXx explicitly need an immediate to avoid having to emit an extra MOV, let's call RegCache::Imm32 so that we're certain that we're getting an immediate. This fixes an issue on older x64 CPUs that manifested as e.g. completely broken graphics in Spyro: Enter the Dragonfly.
2025-12-07Jit64: Return current value from RCOpArg::IsImmJosJuice
The constant propagation PR made it so that a guest register can be present in the register cache as both a host register and an immediate at the same time. If such a guest register is requested from the register cache, the register cache prefers returning it as a host register. However, RCOpArg::IsImm still returns true in this case. This is confusing, especially since OpArg::IsImm does not return true if the RCOpArg is converted into an OpArg. This commit makes RCOpArg::IsImm check whether RCOpArg::Location returns an immediate, so that RCOpArg::IsImm returns false when a host register is being used. Code that wants to know whether an immediate exists in the register cache rather than whether an immediate is currently being used should call RegCache::IsImm instead.
2025-12-04GameSettings: Convert "Deinterlacing Fix" codes to patches for Dragon Ball ↵JMC47
Z: Budokai 1 and 2, enabled them by default, and also added the patch for the Japanese version of the game.
2025-12-01Merge pull request #14178 from ↵JosJuice
Dentomologist/jit64_avoid_passing_immediate_to_non_immediate_parameter Jit64: Avoid passing immediate to non-immediate parameter
2025-12-01Merge pull request #14186 from JoshuaVandaele/dit-crash-fixJosJuice
DITConfiguration: Prevent a crash if images fail to load
2025-12-01Merge pull request #14188 from JosJuice/jit64-flush-carryJosJuice
Jit64: Flush carry flag in FallBackToInterpreter
2025-11-30Merge pull request #14182 from jordan-woyak/ra-hardcore-warning-sizeJosJuice
DolphinQt: Use QtUtils::CreateIconWarning to make the RetroAchievements warning size consistent with other warnings.
2025-11-30Merge pull request #14180 from jordan-woyak/mgba-link-fixJosJuice
GBACore: Fix Pokemon GBA link.
2025-11-29DITConfiguration: Prevent a crash if images fail to loadJoshua Vandaële
Recently came across a strange issue where Dolphin would hard crash in most games with this error: ```sh /usr/include/c++/15.2.1/optional:1165: constexpr const _Tp* std::optional<_Tp>::operator->() const [with _Tp = InputCommon::ImagePixelData]: Assertion 'this->_M_is_engaged()' failed. ``` The culprit turned out to be accessing `host_key_image` which is an `std::optional` thay may return `std::nullopt`. I'm not sure why this issue started occuring for me since I've had no issue with my Dynamic Input Textures in the past? But this fixes a crash if the image fails to load.
2025-11-29Windows/DirectIOFile: Don't request DELETE access for read-only OpenDentomologist
Aside from being unnecessary, on Windows the flag prevents two instances of Dolphin (one instance from before 2509-371 when the flag was introduced and the other after) from running the same ROM simultaneously. Attempting to do so generated the false error `"[Rom]" is an invalid GCM/ISO file, or is not a GC/Wii ISO.` followed by `Failed to init core` and emulation shutdown on the second instance to start the game. Fixing the incorrect error message is a task I'm deferring to another PR. The problem didn't happen when both instances were 2509-371 or later, but I ran into it while bisecting an issue and it'd be nice to avoid that problem in the future.
2025-11-29Jit64: Flush carry flag in FallBackToInterpreterJosJuice
We have an optimization where the guest carry flag is kept in the host carry flag between certain back-to-back pairs of integer instructions. If the second instruction falls back to the interpreter, then FallBackToInterpreter should flush the carry flag to m_ppc_state, otherwise the interpreter reads a stale carry flag and at some later point Jit64 trips the "Attempt to modify flags while flags locked!" assertion. An alternative solution would be to not store the guest carry flag in the host carry flag to begin with if we know the next instruction is going to fall back to the interpreter, but knowing that in advance is non-trivial. Since interpreter fallbacks aren't exactly intended to be super optimized, I went for the flushing solution instead, which is how JitArm64 already works. In most cases, the emitted code shouldn't even differ between these two solutions. Note that the problematic situation only happens if the first integer instruction doesn't fall back to the interpreter but the second one does. This used to be impossible because there's no "JIT disable" setting that's granular enough to disable some integer instructions but not all, but with the constant propagation PR, it's possible if constant propagation is able to entirely evaluate the first instruction but not the second.
2025-11-28IOS/ES: Set the ESDevice::SetUID IPCReply delay based on ↵Jordan Woyak
ESCore::FindInstalledTMD. This makes SetUID take more emulated time giving the host more time to actually do the work. The Wii menu "Data Management" -> "Save Data" -> "Wii" screen is no longer nearly as hard to emulate at full speed.
2025-11-28DolphinQt: minor fixes for the OnScreenDisplayPaneMateus B. Cassiano
2025-11-28IOS/ES: Make UpdateUIDAndGID and CheckIsAllowedToSetUID take an existing ↵Jordan Woyak
UIDSys so it only needs to be built once in ESDevice::SetUID. Constructing the UIDSys from the filesystem is a major bottleneck in the Wii menu "Data Management" -> "Save Data" -> "Wii" screen and this change makes it about twice as fast.
2025-11-27Merge pull request #14183 from ↵Jordan Woyak
LillyJadeKatrin/retroachievements-eternal-darkness-testing-my-sanity RetroAchievements - Remove Hardcore Check from ApplyMemoryPatch
2025-11-27Merge pull request #14177 from JoshuaVandaele/retro-tests-offJosJuice
Disable PatchAllowlistTest if USE_RETRO_ACHIEVEMENTS is OFF
2025-11-27RetroAchievements - Remove Hardcore Check from ApplyMemoryPatchLillyJadeKatrin
This was blocking all memory patches from executing properly in hardcore mode even when contained in the Allowlist.
2025-11-27DolphinQt: Use QtUtils::CreateIconWarning to make the RetroAchievements ↵Jordan Woyak
"hardcore mode" warning size consistent with the other warnings.
2025-11-26GBACore: Fix Pokemon GBA link.Jordan Woyak
2025-11-26Jit64: Avoid passing immediate to non-immediate parameterDentomologist
Call `UseNoImm` instead of `Use` on parameter `a` of `MultiplyImmediate` since `Ra` gets passed to `IMUL` which asserts that parameter is not an immediate.
2025-11-27Disable PatchAllowlistTest if USE_RETRO_ACHIEVEMENTS is OFFJoshua Vandaële
This fixes a build error when `-DENABLE_TESTS=ON` and `-DUSE_RETRO_ACHIEVEMENTS=OFF` are both set together, since AchievementManager is also behind an ifdef.
2025-11-27AX: fix signedness of second low-pass filter coefficientTillmann Karras
This fixes NFL Blitz Pro.
2025-11-27Use minizip-ng's CMakeLists instead of relying on our own implementationJoshua Vandaële
This is a carry over from back when we used `minizip` and had our own CMakeLists for it.
2025-11-25Merge pull request #14169 from JosJuice/i18n-2025-11-25Jordan Woyak
DolphinQt: Adjust capitalization of "Select A Bluetooth Device"
2025-11-25Merge pull request #14066 from Biendeo/masterJosJuice
IOS: Logitech USB Microphone Basic Support
2025-11-25DolphinQt: Adjust capitalization of "Select A Bluetooth Device"JosJuice
2025-11-25Merge pull request #14159 from JosJuice/android-retroachievements-login-goneJosJuice
Android: Tweak dialog_login.xml layout
2025-11-25Merge pull request #14160 from JosJuice/android-retroachievements-more-optionsJosJuice
Android: Add LeaderboardTrackerEnabled and ChallengeIndicatorsEnabled
2025-11-25VideoCommon: Add a hidden setting to cap immediate XFB swaps to one per VI.Jordan Woyak
2025-11-25USB: Add emulated Logitech USB MicrophoneBiendeo
Co-authored by: supermilkdude67 <w.f.s.jazzfyre@gmail.com>
2025-11-24Fix build for non-Linux with Qt 6.10+Jason E. Hale
There was a LINUX check added in b3bdad4, but this should be removed as this change applies to all Qt supported platforms. Simply put, GuiPrivate CMake files were introduced in Qt 6.9 and are now enforced in Qt 6.10 and are not platform-dependent.
2025-11-23Merge pull request #14125 from JosJuice/local-cpu-thread-job-finishedJordan Woyak
Core: Make s_cpu_thread_job_finished a local variable
2025-11-23VideoCommon: move resource state processing to the resource base classiwubcode
2025-11-23VideoCommon: update resource manager with a material/shader/and ↵iwubcode
texture(+sampler) resource to show the complexities that warrant the resource manager system
2025-11-23VideoCommon: add custom includer to custom shaders, this will allow us to ↵iwubcode
ship built-in custom shaders in the future