summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2025-05-25Android: Ask system for optimal audio buffer size and sample rateJosJuice
This can reduce audio latency according to https://developer.android.com/ndk/guides/audio/opensl/opensl-prog-notes#perform. Previously we were using the hardcoded values of 48000 Hz and 256 frames per buffer. The sample rate we use with this change is 48000 Hz on all devices I'm aware of, but the buffer size does vary across devices. Terminology note: The old code used the term "sample" to refer to what Android refers to as a "frame". "Frame" is a clearer term to use for this, so I've changed OpenSLESStream's terminology. One frame consists of one sample per channel.
2025-05-25Android: Get rid of OpenSLESStream's global stateJosJuice
Not sure if we're ever going to want to have more than one of these at the same time, but these global variables are a code smell nonetheless. I'm also deleting the existing member variables because they were unused.
2025-05-25AudioCommon: Remove unused includesDr. Dystopia
2025-05-24Merge pull request #13692 from jordan-woyak/work-queue-thread-command-queueJosJuice
WorkQueueThread: Fix Cancel() race with internal command queue.
2025-05-24VideoCommon: move vertex shader gen logic to a 'process_vertex()' function, ↵iwubcode
to eventually allow for custom shaders to override vertex logic
2025-05-23IOS/KD: Set Checksum when flushing NWC24ConfigSketch
2025-05-22Merge pull request #13699 from JosJuice/force-typoJosJuice
DolphinQt: Fix verb agreement in Immediate XFB description
2025-05-22DolphinQt: Don't translate Wii Speak OSD stringJosJuice
We have a general policy of not translating OSD strings due to the OSD font not having good enough support for languages other than English.
2025-05-22DolphinQt: Fix verb agreement in Immediate XFB descriptionJosJuice
2025-05-22minizip-ng: Stop using compatibility modeJoshua Vandaële
2025-05-21RetroAchievements: Updated PatchAllowlistTest to generate new allowlistLillyJadeKatrin
Refactors the PatchAllowlistTest to streamline the experience for developers. Instead of a textual description of what needs to change in ApprovedInis.json for RetroAchievements compatibility, the test will now generate a replacement file and instruct the coder where to copy it in their local branch, and what to update APPROVED_LIST_HASH to. The result should be easier and more instructive for developers to make changes, while still maintaining that allowed codes cannot be added or modified without recompiling Dolphin. As ApprovedInis.json no longer needs to be user-readable for this process, it no longer contains titles or pretty formatting and as such is updated in this commit, hash included.
2025-05-21Merge pull request #13661 from jordan-woyak/info-firstAdmiral H. Curtiss
DolphinQt: Make the Info tab first in the game properties dialog.
2025-05-21Merge pull request #13693 from jordan-woyak/focus-render-window-on-clickAdmiral H. Curtiss
DolphinQt/RenderWidget: Grab focus on mouse button press.
2025-05-21Merge pull request #12769 from sepalani/wii-speakJMC47
IOS/USB: Emulate Wii Speak using cubeb
2025-05-20WorkQueueThread: Fix Cancel() race with internal command queue.Jordan Woyak
2025-05-20DolphinQt/RenderWidget: Grab focus on mouse button press.Jordan Woyak
2025-05-20Merge pull request #13675 from LillyJadeKatrin/retroachievements-close-deadlockJMC47
AchievementManager - LoadGameCallback
2025-05-20Merge pull request #13562 from sanjay900/santroller-supportJordan Woyak
LibusbDevice: Send wakeup command to Santroller devices
2025-05-19Check buffer out and size in HID_USBv5/USB_VEN GetVersion Ioctly21
2025-05-18Resolve clang-tidy violationLillyJadeKatrin
2025-05-18DiscIO: Use views::keysDr. Dystopia
2025-05-17Merge pull request #13527 from ↵Jordan Woyak
tygyh/Replace-msg-with-structured-binding-VideoCommon/NetPlayChatUI VideoCommon/NetPlayChatUI: Replace msg with structured binding
2025-05-17Merge pull request #13190 from tygyh/Move-to-inner-scope-DolphinQTJordan Woyak
DolphinQT: Move variables to inner scope
2025-05-17Revert "RetroAchievements: Fix potential deadlock on shutdown."LillyJadeKatrin
This reverts commit 826f04d06c89011fa7e47531111ee90b27344c8a.
2025-05-17AchievementManager: Remove CloseGame from LoadGameCallbackLillyJadeKatrin
This was causing deadlocks when a game didn't load (including if RetroAchievements does not yet support it) because it was attempting to close the queue the the callback was currently running on, forcing LoadGameCallback to wait for LoadGameCallback to finish. However, it appears that recent changes to the queue have independently resolved the reason CloseGame was being called here in the first place.
2025-05-16Merge pull request #13662 from ↵Jordan Woyak
Dentomologist/wiimotecontrollerswidget_scan_for_bluetooth_adapters_on_separate_thread WiimoteControllersWidget: Fix UI hang when opening Controllers window
2025-05-16Merge pull request #13531 from tygyh/DiscIO-Make-functions-constantJordan Woyak
DiscIO: Make functions constant
2025-05-16Merge pull request #13459 from tygyh/Make-parameters-constants-DolphinQt-NetplayJordan Woyak
DolphinQt/NetPlay: Make variables constant
2025-05-16DiscIO: Make functions constantDr. Dystopia
2025-05-15WiimoteControllersWidget: Fix UI hang on openingDentomologist
Fix the UI hanging for several seconds when opening the Controllers window. Move the scan for Bluetooth adapters onto a separate thread so the Host thread doesn't have to wait for it. Only automatically scan for adapters once, when opening the Controllers window for the first time. Add a Refresh button to let the user refresh the adapter list afterward.
2025-05-15Merge pull request #13660 from jordan-woyak/consistent-icon-textJordan Woyak
DolphinQt: Add utility function for creating label text with a standard icon.
2025-05-15DolphinQt/Mapping: Replace Motion Input "WARNING: " text with a warning icon.Jordan Woyak
2025-05-15DolphinQt: Make the Info tab first in the game properties dialog.Jordan Woyak
2025-05-15DolphinQt: Add utility function for creating label text with a standard icon.Jordan Woyak
2025-05-14Merge pull request #13603 from tygyh/FifoPlayer-Make-functions-staticJordan Woyak
FifoPlayer: Make functions static
2025-05-14RetroAchievements: Fix potential deadlock on shutdown.Jordan Woyak
2025-05-13Vulkan: Eliminate m_last_present_done flag.Jordan Woyak
2025-05-12Merge pull request #13650 from JosJuice/stswx-uncachedJMC47
PowerPC: Correctly handle stswi/stswx to uncached memory
2025-05-12Merge pull request #13046 from SuperSamus/vi-overclockJMC47
Add VBI Frequency Override
2025-05-12VideoCommon: Limit maximum denominator for MPEG4Martino Fontana
It happened to be under the limit normally, but now that the VBI rate can be changed, that's no longer the case.
2025-05-12Core: Add VBI Frequency OverrideMartino Fontana
This feature allows overriding the frequency of the Vertical Blank Interrupt. For many games, this means that their gameplay speed will change without affecting audio, which would be useful by itself (e.g. grinding in RPGs). However, there are games that use delta time for their game logic, which allows them to be played at >60 FPS at the same gameplay speed! Some games aren't dynamic though, and require a patch to adjust their game speed variable.
2025-05-10Merge pull request #13631 from LillyJadeKatrin/retroachievements-mem2JMC47
AchievementManager: MEM2 Support
2025-05-10PowerPC: Correctly handle stswi/stswx to uncached memoryJosJuice
On real hardware, stswi and stswx don't trigger any of the special behavior for uncached unaligned writes that was implemented in 543ed8a. This is confirmed by a hwtest (a new commit in https://github.com/dolphin-emu/hwtests/pull/42). This change fixes Dolphin's stswi and stswx implementations so they stop triggering the special behavior, bringing them back to the behavior they had before 543ed8a. No games are known to be affected, but Extrems has reported that it affects homebrew they've made.
2025-05-10DolphinQT/Netplay: Make variables constantDr. Dystopia
2025-05-10Merge pull request #13350 from iwubcode/custom_shader_overhaul_vertex_posJMC47
VideoCommon: move transform matrices to accessible functions in VertexShaderGen
2025-05-09Crypto/SHA1: Re-add memcpy avoiding optimization to BlockContext::Update.Jordan Woyak
2025-05-09Merge pull request #10766 from xperia64/dsp_format_funJMC47
DSP accelerator improvements
2025-05-09Merge pull request #13641 from jordan-woyak/sha1-fixJMC47
Crypto/SHA1: Fix past-the-last-element std::array access and modernize code.
2025-05-09Merge pull request #13586 from Tilka/spr_disasmJMC47
GekkoDisassembler: standardize SPR names and add missing ones
2025-05-09Merge pull request #13440 from jordan-woyak/si-dev-change-tweakJMC47
HW/SI: Don't require waiting a second before disconnecting an SIDevice.