summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2026-07-11DolphinQt: Update tool tip for Enable Emulated Memory Size Override.cristian64
2026-07-11Core: Adjust emulated memory size automatically.cristian64
Dolphin now uses the simulated memory size defined in `bi2.bin` to adjust the memory size in the emulated console automatically. If **Enable Emulated Memory Size Override** has been enabled by the user, the fixed memory size specified for **MEM1** and **MEM2** are still used as they were before. Most retail games do not define the simulated memory size (Wii or Triforce games), or define it to a value that matches the default 24 MiB (GameCube games), so, in the general case, there is no behavior change. One game that sets the simulated memory to a non-default value is the debug build of _Mario Kart: Double Dash!!_, where the value is set to 48 MiB. This enhancement is focused mainly to the modding community. Prior to these changes, modded games with extended memory requirements would fail to launch in Dolphin [with no indication of what the problem is] if the user failed to set the emulated memory override to the correct value. Now, modding tools can specify the simulated memory size in the `bi2.bin` file to produce extended games that _just work_ in Dolphin, without cumbersome instructions that can be overlooked by the user.
2026-07-11DolphinAnalytics: Add game quirk for game simulated memory size.cristian64
This is the 32-bit unsigned integer that is seen at offset `0x04` in the `bi2.bin` file. The intent is to study what games define values that departure from the norm. Common values are 0 MiB (Wii games) and 24 MiB (GameCube games), with some debug and demo builds featuring 48 MiB (e.g. the debug build of _Mario Kart: Double Dash!!_).
2026-07-11Core: Add `SConfig::GetSimulatedMemorySize()`.cristian64
This makes the simulated memory size of the running game accessible via the `SConfig` singleton.
2026-07-11Core: Add `Volume::GetSimulatedMemorySize()`.cristian64
The data structure of the `bi2.bin` file in which the simulated memory size is set: > **13.2 Disk header Information** > > this is loaded to the Address in `0x800000f4` when a disc is initialized by the IPL > > | offset | end | size | Description | > | :------: | --- | :--: | --------------------- | > | `0x0000` | | 4 | Debug-monitor Size | > | `0x0004` | | 4 | Simulated Memory Size | > | `0x0008` | | 4 | Argument offset | > | `0x000c` | | 4 | Debug flag | > | `0x0010` | | 4 | Track Location | > | `0x0014` | | 4 | Track size | > | `0x0018` | | 4 | Countrycode | > | `0x001c` | | 4 | ? | See https://hitmen.c02.at/files/yagcd/yagcd/chap13.html#sec13.2. Most GameCube games set the value to `24 MiB`, which matches the physical memory size. Most Wii games set the value to `0 MiB` (unset). The debug build of _Mario Kart: Double Dash!!_ is one game that sets the value to `48 MiB`.
2026-07-11ResourcePackManager: Erase Removed pack from list and tableDentomologist
Erase a removed pack from ResourcePack::<anonymous namespace>::packs instead of only deleting the pack file from the disk. This causes the repopulated table to actually display that the pack has been removed (which previously only happened after restarting Dolphin or hitting `Refresh`), and also removes the pack from the `Packs.ini` file.
2026-07-11ResourcePackManager: Fix crash when removing packDentomologist
Avoid accessing destroyed `QTableWidgetItem` by retrieving the desired path from the item before it's destroyed. In `ResourcePackManager::Remove` pointers to the selected items in `m_table_widget` were saved in the local variable `items` before calling `Uninstall`. `Uninstall` called `RepopulateTable` which called `m_table_widget->clear()`, destroying the table's descendants. Upon returning to `Remove` `items` then pointed to some of those destroyed descendants, and passing `items[0]` to `GetResourcePackIndex` resulted in a call to `item->row()` which was a use-after-free. Fixes https://bugs.dolphin-emu.org/issues/14095.
2026-07-11allow Wii System Transfer and WagonCompat to call ES_SetUIDidkwhere1sthisname
2026-07-09Core: Remove ifdef for call to GCAdapter::ResetRumbleJosJuice
The ifdef made it so this was never called on Android, but we do want it to be called on Android. There are ifdefs inside the function implementation but not around the function declaration or definition, so there's no need for ifdefs when calling it.
2026-07-09Android: Make vibration length variableJosJuice
Previously we would vibrate for 100 ms on every vibration, which was especially annoying if a game was doing a bunch of vibrations that were supposed to be much shorter than that. Now we tell Android to vibrate for 10 s, then cancel the vibration as soon as the game turns the vibration off.
2026-07-08GameSettings: Approve speed hacks for RetroAchievementsMartino Fontana
Some of the speed hacks were not approved for RetroAchievements, meaning that users had to choose between not getting hardcore achievements, or having poor performance. Also, renamed the instances of `$Limit internal FPS to VPS (improves performance)` to `$Limit internal frame rate (speed hack)` for consistency. They are enabled by default, so unless the user disabled them, it won't break the configuration.
2026-07-08mingw: lower case windows includesCraig Carnell
2026-07-06Android: Route DolphinBar Balance Board to the Balance Board slottommywaaf
WiimoteScannerAndroid::FindAttachedWiimotes() added every device connected through the DolphinBar to the Wii Remote results, with a TODO noting that balance boards were not differentiated. As a result, a Wii Balance Board connected through the DolphinBar was always assigned to a Wii Remote slot (Player 1), and games that request a Balance Board never detected it. Use Wiimote::IsBalanceBoard() to route balance boards into the balance_boards results, matching the Linux and Windows scanner backends. Tested on an AYN Thor (Android 13) with a Mayflash DolphinBar in Mode 4 running Wii Fit Plus: the board is now detected in the Balance Board slot.
2026-07-05Merge pull request #14689 from JosJuice/android-internal-resolution-displayDentomologist
VideoCommon: Use XFB for internal resolution stats
2026-07-05Merge pull request #14417 from TryTwo/Cheat_FixJosJuice
Bugfix: Cheat codes: Make newly added codes start disabled.
2026-07-05Merge pull request #13216 from CelestialAmber/cw-demanglerJosJuice
Core: Implement automatic symbol demangling
2026-07-05Merge pull request #14619 from JosJuice/no-si-change-deviceJosJuice
Core: Remove SerialInterfaceManager::ChangeDevice
2026-07-05Merge pull request #14678 from JoshuaVandaele/alt-toolsJosJuice
MenuBar: Add missing Alt shortcuts in Tools
2026-07-05Merge pull request #14516 from Sintendo/jitarm64-subfzexJosJuice
JitArm64: Minor subfzex optimizations
2026-07-05Merge pull request #14707 from SuperSamus/jit64-computerc-better-early-flushJosJuice
Jit64: Early flush in ComputeRC even when `needs_test`
2026-07-05Rename "Show Internal Resolution" to "Show XFB Resolution"JosJuice
To make it extra clear that this is measuring the XFB, not the EFB.
2026-07-05Move the code for the show internal resolution settingJosJuice
fb4ff3e put all the code for the show internal resolution setting right next to the code for the show FPS setting, presumably because an earlier version of that commit had them next to each other in the GUI. It makes more conceptual sense to put the code next to the code for the show statistics settings, matching what the GUI looks like now.
2026-07-05VideoCommon: Show internal resolution stats below VPSJosJuice
It looked a bit out of place wedged in between the FPS and VPS.
2026-07-05VideoCommon: Use XFB for internal resolution statsJosJuice
fb4ff3e added a statistics option to show the internal resolution, but it just showed the total size of the EFB (which is always 640x528) times the IR scale, so it didn't convey any useful information. This commit instead makes the option use the size of the last XFB copy (not multiplied by the IR scale), which changes based on the game's rendering resolution.
2026-07-05VideoCommon: Reduce padding in PresentInfoJosJuice
This makes the struct 8 bytes smaller.
2026-07-03Windows: Fix command line output not displaying when using Git BashDentomologist
Check if Dolphin already has a handle for stdout or stderr before trying to attach to the console of the parent process. Previously, running Dolphin via Git Bash with options like `--help` or `--version` wouldn't produce any output. This was the result of the fix (1ce75ce21706a8dd9662e77ac9d09de1976f4733) for https://bugs.dolphin-emu.org/issues/11042, before which output did work for `Git Bash` but didn't for `Command Prompt` or `PowerShell`.
2026-07-01Merge pull request #14699 from JosJuice/android-vibrator-id-indexDentomologist
Android: Fix mixup between Vibrator id and index
2026-06-29Merge pull request #14708 from JosJuice/state-path-encodingAdmiral H. Curtiss
State: Use proper path encoding conversion for OSD messages
2026-06-28Merge pull request #14647 from tom-pratt/netplayJMC47
Android netplay
2026-06-28Merge pull request #14658 from VampireFlower/patch-instruction-assembleAdmiral H. Curtiss
[Debugger]: Assemble instructions in the patch instruction dialog
2026-06-28State: Use proper path encoding conversion for OSD messagesJosJuice
Otherwise Windows will use the system code page.
2026-06-28Jit64: Early flush in ComputeRC even when `needs_test`Martino Fontana
Example: ``` nand. r1, r2, r3 ``` Assuming that none of these registers will be used again: - Before #14278, all of them would be flushed on both sides of the branch. - After #14278, r2 and r3 would have been flushed earlier, but r1 won't. - With this, r1 is flushed in ComputeRC.
2026-06-28Merge pull request #14589 from ↵JosJuice
Dentomologist/merge_tooltips_for_disabled_settings_into_balloontips HacksWidget: Merge tooltips for disabled settings into balloontips
2026-06-28Merge pull request #14615 from ↵JosJuice
Dentomologist/code_widgets_allow_mass_enabled_toggling ARCodeWidget/GeckoCodeWidget: Add button to enable/disable all codes
2026-06-28Merge pull request #14198 from JosJuice/jit64-cmpxx-rb-comparandJosJuice
Jit64: Improve cmpXX imm handling
2026-06-28Merge pull request #14599 from naari3/fix/directoryblob-gc-triforce-alignmentJosJuice
DirectoryBlob: fix data alignment for GC/Triforce and skip Triforce DIMM memory range
2026-06-28Merge pull request #14278 from JosJuice/ppcanalyst-split-read-writeJosJuice
PPCAnalyst: Split "in use" analysis into reads and writes
2026-06-28Core: Remove SerialInterfaceManager::ChangeDeviceJosJuice
Now SerialInterfaceManager::UpdateDevices reads the configured SI devices directly from Config instead. The main reason why I wanted to do this is so that Android can change SI devices while emulation is running. (Android didn't have the code for calling ChangeDevice.) But when implementing the change, I noticed that NetPlay and Movie were using ChangeDevice as a way of overriding the SI devices configured by the user. Replacing this ended up making the change larger than I first anticipated. For Wii Remotes, there was no equivalent to ChangeDevice, so NetPlay and Movie were using Config::SetCurrent to override the Wii Remote source configured by the user. If we can use the config system to override Wii Remote sources, why not do the same for SI devices? This commit makes NetPlay and Movie set SI devices and Wii Remote sources in the NetPlay and Movie config layers, as that is the conceptually appropriate place to do it. As far as I can tell, the old Movie code for overriding SI devices and Wii Remote sources didn't actually work. This new code does. I didn't investigate exactly why it didn't work, but maybe it's because loading a movie happens before emulation actually starts.
2026-06-28Merge pull request #14646 from linkmauve/pi-regsJosJuice
HW/ProcessorInterface: Add support for all known registers
2026-06-28Merge pull request #14676 from SuperSamus/jit-dcbx-fixupJosJuice
JitArm64: Fix uninitialized use of register in dcbx
2026-06-28Merge pull request #14683 from SuperSamus/idle-loop-nop-fixJosJuice
PPCAnalyst: In `IsBusyWaitLoop`, ignore `nop`
2026-06-28Merge pull request #14626 from ↵JosJuice
ChaseParate/approve-xenoblade-chronicles-60-fps-gecko-code Gecko/RetroAchievements: Approve Xenoblade Chronicles 60 FPS Gecko code
2026-06-26Android: Fix mixup between Vibrator id and indexJosJuice
This fixes https://bugs.dolphin-emu.org/issues/14076. The issue report more or less already says it all, but to provide a shorter summary: We were fetching a list of vibrator IDs, but instead of passing the vibrator ID to the vibrator manager, we passed the index of the ID in the list. This happened to work fine on many devices, including all devices that use DolphinVibratorManagerCompat, due to the only Vibrator having both an index and ID of 0. But on some devices, it failed due to the ID of the Vibrator being 1. This fix makes us correctly pass the ID to the vibrator manager. We still use indices in controller INI files, both for compatibility with the controller mappings shipped with Dolphin (which use index 0) and for backwards compatibility with older controller INI files.
2026-06-26Merge pull request #14663 from AdmiralCurtiss/qt6.8.3Admiral H. Curtiss
Update bundled Windows Qt to 6.8.3
2026-06-26Update bundled Windows Qt to 6.8.3Admiral H. Curtiss
2026-06-26Merge pull request #14684 from Sintendo/rm-unused-headersAdmiral H. Curtiss
Remove unused headers
2026-06-26HW/ProcessorInterface: Add support for all known registersLink Mauve
These changes originate from testing the behaviour of the PI registers in Linux on my Wii. I started by testing the masks, writing 0xFFFF_FFFF to the registers on the Wii, and then got told about their value on a GameCube, and then figured out most of the registers through a discussion with Extrems.
2026-06-25Merge pull request #14591 from TryTwo/Registers_FixDentomologist
Debugger: Register Widget bug fix. Block updates when changing types
2026-06-24Merge pull request #14687 from JoshuaVandaele/realtek-linux-listOatmealDome
RealtekFirmwareLoader: Update list from Linux source
2026-06-24TAPServerConnection: Fix builds with LLVM toolchainJoshua Vandaële
On an Alpine system using a full LLVM toolchain, building fails because `fd_set`/`timeval` are undefined.