summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2025-05-01Merge pull request #13611 from jordan-woyak/work-queue-thread-spJMC47
Core and Vulkan: Change WorkQueueThread to WorkQueueThreadSP in a few places.
2025-05-01Merge pull request #13597 from JosJuice/hide-boot-binJMC47
Hide DirectoryBlob boot.bin files from game list
2025-05-01Merge pull request #13535 from m-brodschi/mihaib/fix-shutdown-crashJMC47
Core, VideoCommon: Fix crash at shutdown due to destructor order
2025-05-01Merge pull request #13464 from jordan-woyak/dont-toggle-skip-framesJMC47
DolphinQt: Don't auto toggle GFX_HACK_SKIP_DUPLICATE_XFBS.
2025-05-01Merge pull request #13448 from ↵JMC47
Dentomologist/fix_unresponsive_hotkeys_when_moving_overlay_during_framestep DolphinQt: Fix unresponsive hotkeys when clicking overlay during a framestep
2025-05-01Merge pull request #13239 from JosJuice/jitarm64-rlwimix-imm-maskJMC47
JitArm64: Use AArch64 imm masks in rlwimix slow case
2025-05-01CoreTiming: Add missing SystemTimers.h includeOatmealDome
2025-05-02UICommon: Include implicit headerAlfred Wingate
The header isn't implicitly included on musl. Bug: https://bugs.gentoo.org/952952 Signed-off-by: Alfred Wingate <parona@protonmail.com>
2025-05-01StringUtil: Use concepts instead of enable_if.Jordan Woyak
2025-05-01Merge pull request #13499 from jordan-woyak/frame-pacing-better-mathJordan Woyak
CoreTiming: Cleanups to avoid drift from cumulative rounding errors.
2025-05-01Make overriding explicit and remove redundant virtual specifiers on ↵Dr. Dystopia
overriding destructors - Core & UnitTests
2025-05-01VideoCommon/NetPlayChatUI: Replace `msg` with structured bindingDr. Dystopia
2025-05-01Add achievement support for Wii and WiiWareLillyJadeKatrin
Add a method to detect console ID from an input file and instruct rcheevos to load as Gamecube or Wii accordingly. Also, hash .wads upon loading, to support achievements on WiiWare titles.
2025-05-01Remove filename option from achievement manager loadLillyJadeKatrin
The only option that was currently using this was a pass-by-executable that wouldn't hash correctly anyways.
2025-05-01Merge pull request #13553 from ↵JosJuice
tygyh/Core/PowerPC/JitArm64-Replace-zeroes-in-boolean-context-with-false JitArm64: Replace zeroes in boolean context with `false`
2025-05-01Don't close achievements on games that don't hashLillyJadeKatrin
Minor bugfix necessary for future development; issue brought on by a conflict resolving wrong.
2025-04-30Merge pull request #13453 from tygyh/Use-underlying-methodJordan Woyak
DolphinQt/FIFO/FIFOAnalyzer: Use Common::ToUnderlying
2025-04-30Merge pull request #13587 from jordan-woyak/manual-valueAdmiral H. Curtiss
Common: Move some duplicate container element construction logic into a ManuallyConstructedValue template.
2025-04-30VideoBackends/Vulkan: Use WorkQueueThreadSP for swap commands.Jordan Woyak
2025-04-30Core: Use WorkQueueThreadSP in NetKDRequestDevice.Jordan Woyak
2025-04-30Core: Use WorkQueueThreadSP in NetIPTopDevice.Jordan Woyak
2025-04-30Core: Use WorkQueueThreadSP in DVDThread.Jordan Woyak
2025-04-30Merge pull request #13579 from jordan-woyak/work-queue-thread-cleanupJordan Woyak
WorkQueueThread: Implement in terms of WaitableSPSCQueue. Add unit tests.
2025-04-30Merge pull request #13581 from jordan-woyak/dvd-WorkQueueThreadJordan Woyak
DVDThread: Implement with WorkQueueThread and WaitableSPSCQueue.
2025-04-30Common: Move some duplicate container element construction logic into a ↵Jordan Woyak
ManuallyConstructedValue template.
2025-04-30WorkQueueThread: Cleanups. Implement in terms of WaitableSPSCQueue. Add ↵Jordan Woyak
single producer WorkQueueThreadSP.
2025-04-30Merge pull request #13436 from JoshuaVandaele/clang-format-19OatmealDome
Update clang-format to version 19
2025-04-28FifoPlayer: Make functions staticDr. Dystopia
2025-04-28Core, VideoCommon: Fix crash at shutdown due to destructor orderingMihai Brodschi
Previously, PerformanceTracker registered a callback to be updated on emulation state changes. PerformanceTrackers live in a global variable (g_perf_metrics) within libvideocommon. The callback was stored in a global variable in libcore. This created a race condition at shutdown between these libraries, when the PerfTracker's destructor tried to unregister the callback. Notify the PerfTracker directly from libcore, without callbacks, since Core.cpp already references g_perf_metrics explicitly. Also rename Core::CallOnStateChangedCallbacks to NotifyStateChanged to better reflect what it's doing.
2025-04-27Core: Use MoveOnlyFunction for RunOnCPUThread.Jordan Woyak
2025-04-27VideoCommon: Use MoveOnlyFunction for AsyncRequests.Jordan Woyak
2025-04-27Common: Add MoveOnlyFunction.Jordan Woyak
2025-04-27CMake: Explicitely link udev if LIBUDEV_FOUND is setJoshua Vandaële
2025-04-27DVDThread: Implement with WorkQueueThread and WaitableSPSCQueue.Jordan Woyak
2025-04-26Hide DirectoryBlob boot.bin files from game listJosJuice
Extracted games contain a boot.bin file that contains the disc header. These boot.bin files are considered valid volumes by Dolphin, since Dolphin only checks the disc header to determine if something is a valid GC/Wii disc. Running them doesn't make any sense, though. boot.bin files used to not be scanned by Dolphin due to their file extension, but .bin was added to the list of file extensions to scan for in 494e2c0. To stop them from showing up in the game list, let's update the ShouldHideFromGameList mechanism.
2025-04-26Merge pull request #13590 from tygyh/UCodes-Remove-redundant-qualifiersTilka
UCodes: Remove redundant qualifiers
2025-04-26Config: Add locking for config changed callbacksJosJuice
Different threads are adding and calling callbacks, so this should have some locking. This is both to ensure thread safety when accessing `s_callbacks` and to ensure that there won't be situations where a callback gets called after it's removed. `s_callback_guards` is also accessed from multiple threads and has therefore been made atomic.
2025-04-26Merge pull request #13514 from LillyJadeKatrin/retroachievements-failed-load-bugJosJuice
Call AchievementManager CloseGame on load failures
2025-04-25Config: Add [[nodiscard]] to AddConfigChangedCallbackDentomologist
Require callers of Config::AddConfigChangedCallback and CPUThreadConfigCallback::AddConfigChangedCallback to handle the returned ConfigChangedCallbackIDs to hopefully prevent future issues with callbacks getting called after their associated objects have been destroyed.
2025-04-25VideoConfig: Remove ConfigChangedCallback on shutdownDentomologist
2025-04-25FreeLook: Remove ConfigChangedCallback on shutdownDentomologist
2025-04-25UICommon: Merge ConfigChangedCallbacksDentomologist
Use a single lambda as a callback which calls InitCustomPaths and RefreshConfig instead of having separate callbacks for each of them. This fixes the callback for InitCustomPaths not being removed on shutdown; the callback for the lambda (previously for RefreshConfig) is already removed in Shutdown().
2025-04-25Settings: Remove ConfigChangedCallback on shutdownDentomologist
2025-04-25AchievementManager: Remove ConfigChangedCallback on shutdownDentomologist
Prevent SetHardcoreMode from being called after m_client is set to nullptr. rc_client_set_hardcore_enabled() checks for nullptr so this didn't cause any problems, but better not to rely on that. Also prevents multiple SetHardcoreMode callbacks from piling up when repeatedly toggling Config::RA_ENABLED.
2025-04-25MainWindow: Fix use-after-free during shutdownDentomologist
Remove ConfigChangedCallback in MainWindow's destructor to prevent the callback from accessing the destroyed MainWindow afterward. After MainWindow is destroyed UICommon::Shutdown calls LogManager::Shutdown which ultimately triggers any remaining callbacks. This resulted in calling MainWindow::OnHardcoreChanged, which crashed in debug builds and didn't have any obvious effect in release builds.
2025-04-25UCodes: Remove redundant qualifiersDr. Dystopia
2025-04-25Core/HW/EXI: Remove redundant `inline` specifiersDr. Dystopia
2025-04-25Core/HW/GCMemcard: Make variables constantDr. Dystopia
2025-04-25Merge pull request #13451 from vyuuui/numeric_labelsTilka
Add numeric label support to assembler
2025-04-25Merge pull request #13476 from jordan-woyak/sdl-headerTilka
InputCommon: Move SDL Device class into its own cpp/h files.