summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-07-27PPCSymbolDB: Reduce lock contention in LoadMap/LoadMapOnBootJosJuice
By building the map in a local variable and then swapping it with the member variable, we avoid the need to hold a lock while building the map.
2025-07-27PPCSymbolDB: Rename m_write_lock to m_mutexJosJuice
This mutex needs to be locked both when reading and writing, not just when writing.
2025-07-27PPCSymbolDB: Wait for locking to succeedJosJuice
9395238 added a mutex to PPCSymbolDB, and made functions return with an "empty" result if called while the mutex is locked. This new behavior has the potential to affect not only less important call sites like the symbol printing mentioned in a comment, but also the JIT deciding if it should HLE a function. A later commit in this pull request decreases the amount of lock contention, reducing the performance impact of this commit.
2025-07-27docs/DSP: fix some bit pattern inconsistenciesTillmann Karras
Thanks to @Oaisus who reported this.
2025-07-27Android: Add additional null check in GCAdapterJosJuice
Just in case, since the documentation says this could be null.
2025-07-27GameSettings: Minor approved cheats updateMartino Fontana
2025-07-27Revert "Android/GCAdapter: Don't join current thread"JosJuice
This reverts commit 74ed5e55326b9d8e67dfbb8dd6f61d04bcae2445. It solves a problem that no longer exists.
2025-07-27Android: Detect GCAdapter disconnection using BroadcastReceiverJosJuice
This lets us get rid of the Reset call in ProcessInputPayload, which was causing us some threading headaches (see 74ed5e5532). Instead we handle disconnection in the same way as the libusb implementation does.
2025-07-27Android: Detect GCAdapter connection using BroadcastReceiverJosJuice
We can register a BroadcastReceiver to have Android tell us when a GC adapter gets connected instead of having a loop where we continuously call SleepCurrentThread(1000) and poll the current status. When waiting for a GC adapter to connect, this both reduces power usage and improves responsiveness. Note that I made openAdapter get the UsbDevice that's been stored by the hotplug code instead of having openAdapter find the UsbDevice on its own like before. This is only because I want to ensure that the UsbDevice being tracked for disconnection is the same as the UsbDevice actually being used, in case the user has multiple adapters connected.
2025-07-27Android: Clean up naming in Java_GCAdapter and Java_WiimoteAdapterJosJuice
This isn't how we name things in Java/Kotlin.
2025-07-27Jit: Flush registers used in memory breakpoint conditionsJosJuice
Aims to fix https://bugs.dolphin-emu.org/issues/13686. I'm using a less efficient approach for Jit64 than for JitArm64. In JitArm64, I'm flushing in the slow access code, but in Jit64, I'm flushing before the split between the slow access code and the fast access code, because Jit64 doesn't keep register mappings around for when it's time to emit the slow access code. But the flushing code is only emitted when there are memory breakpoints with conditions, so I'd say that this is a performance loss we can live with.
2025-07-27JitArm64: Document an assumption we've been making in EmitBackpatchRoutineJosJuice
The next commit will add another piece of code that depends on this assumption that we've been making. Good opportunity to document it. In practice, all callers of EmitBackpatchRoutine are locking X30.
2025-07-27PowerPC: Track registers used in memory breakpoint conditionsJosJuice
2025-07-26Android: Don't let RetroAchievements override onPauseJosJuice
When Android sends Dolphin to the background, emulation *must* pause, otherwise emulation continues running and continues outputting audio to the user. RetroAchievements mustn't be allowed to override it.
2025-07-26Boot: Fix RetroAchievements for GameCube games launched with IPLJosJuice
The SetDisc function calls AchievementManager::LoadGame with the game's volume. Calling AchievementManager::LoadGame again afterwards with nullptr prevents RetroAchievements from working.
2025-07-26Merge pull request #13789 from Simonx22/update-sdk36-gradle813JosJuice
Android: Bump SDK to 36 and Gradle to 8.13
2025-07-25Merge pull request #13446 from JosJuice/breakpoints-delayed-updateJordan Woyak
PowerPC: Add RAII handling for breakpoint updates
2025-07-25Merge pull request #13827 from jordan-woyak/fix-mplus-saveJMC47
InputCommon/ControllerEmu: Fix saving of Wii Remote "MotionPlus Attached" setting.
2025-07-24Core: Make play time tracking use SteadyAwakeClock.Jordan Woyak
2025-07-24Common/Timer: Add a SteadyAwakeClock class which counts non-suspended system ↵Jordan Woyak
running time.
2025-07-24InputCommon/ControllerEmu: Fix saving of Wii Remote "Attach MotionPlus" setting.Jordan Woyak
2025-07-25Merge pull request #13822 from jordan-woyak/libusb-init-errorAdmiral H. Curtiss
LibusbUtils: Change libusb_init failure from an ASSERT_MSG to an ERROR_LOG_FMT
2025-07-25Merge pull request #13826 from Dentomologist/gameconfigwidget_unify_tooltipsAdmiral H. Curtiss
GameConfigWidget: Unify tooltips
2025-07-25Merge pull request #13820 from apteryks/gc-font-tool-gcc14-fixAdmiral H. Curtiss
fix building gc-font-tool.cpp with GCC 14
2025-07-24Android: Bump SDK to 36 and Gradle to 8.13Simon
Starting August 31, 2025, targeting at least Android 15 (API level 35) will be required: https://support.google.com/googleplay/android-developer/answer/11926878 This commit sets the target SDK to API level 36 (Android 16), the latest available version.
2025-07-24GameConfigWidget: Unify tooltipsDentomologist
Use ToolTipWidget::SetDescription insead of QWidget::setTooltip to put the description in the BalloonTip with the title, instead of having the description be in a separate standard tooltip.
2025-07-23LibusbUtils: Change libusb_init failure from an ASSERT_MSG to an ERROR_LOG_FMT.Jordan Woyak
2025-07-23RealtekFirmwareLoader: Automatically download missing firmware from gitlab.com.Jordan Woyak
2025-07-23BTReal: Implement Realtek Bluetooth firmware loading.Jordan Woyak
Logic and structures are largely taken from Linux source: drivers/bluetooth/btusb.c drivers/bluetooth/btrtl.c drivers/bluetooth/btrtl.h
2025-07-23LibUSBBluetoothAdapter: Add SendBlockingCommand function.Jordan Woyak
2025-07-23Core: Move HCICommandPayload struct template from BTReal to ↵Jordan Woyak
LibUSBBluetoothAdapter header.
2025-07-23Common: Move AsU8Span utility function from BTReal to Common/BitUtils.Jordan Woyak
2025-07-23Merge pull request #13770 from JoshuaVandaele/usbutilsJMC47
USBUtils: Refactor USB device handling
2025-07-23AudioCommon/Mixer: Skip sample processing when NullSoundStream is being used.Jordan Woyak
2025-07-23Translation resources sync with TransifexJosJuice
2025-07-23Merge pull request #13818 from Amphitryon0/show-code-defaultJosJuice
DolphinQt: Stop re-enabling Code widget when toggling debug mode
2025-07-23Merge pull request #13100 from CrossVR/unrestricted-depth-rangeJules Blok
Vulkan: Add support for unrestricted depth range.
2025-07-23USBUtils: Refactor USB device handlingJoshua Vandaële
2025-07-22fix gc-font-tool.cpp with GCC 14Maxim Cournoyer
2025-07-21DolphinQt: Stop re-enabling Code widget when toggling debug modeAmphitryon
It is useful enough for the Code widget to be enabled the first time debugging is enabled, but it should not be re-enabled every time the setting is toggled off and then back on. This also ensures that the interface is consistent if debugging is enabled without using the checkbox.
2025-07-22Merge pull request #13805 from SuperSamus/vulkan-present-sempahore-reuse-fixTilka
Vulkan: Fix present semaphores reuse
2025-07-21Merge pull request #13784 from jordan-woyak/btreal-restore-keys-on-hci-resetJMC47
BTReal: Always restore link keys on HCI reset.
2025-07-21Vulkan: Fix present semaphores reuseMartino Fontana
Fixes validation errors. See https://docs.vulkan.org/guide/latest/swapchain_semaphore_reuse.html
2025-07-21Vulkan: Add support for unrestricted depth range.CrossVR
2025-07-20Merge pull request #13674 from JosJuice/android-visualize-inputJordan Woyak
Android: Show input indicators in controller settings
2025-07-20Merge pull request #13803 from JoshuaVandaele/msgmerge-sortTilka
Translation: Remove deprecated --sorted-output/-s option
2025-07-19Merge pull request #13815 from AdmiralCurtiss/windows-common-funcsJMC47
Common: Move GetDeviceProperty() into its own header
2025-07-19fix Qt6 deprecation warningsoltolm
2025-07-19Common: Move GetDeviceProperty() into its own headerAdmiral H. Curtiss
Otherwise we include Windows headers in the entire codebase through CommonFuncs.h
2025-07-19Merge pull request #13816 from Tilka/fix_di_initTilka
WII_IPC: fix homebrew that uses the disc drive