summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2026-07-27Return m_devices directly in GetAllDevices().slick-daddy
2026-07-26IOS/FS: Fix loading savestate when files are openJosJuice
We already had code to close open host files when reading or writing a savestate, but due to d35fe1b we also need to close open guest files when reading a savestate, otherwise DoStateRead fails to delete them. I was considering an alternative solution where instead of copying and clearing m_handles, we just set `handle.opened = false;` for each handle before reading a savestate (but not before writing a savestate). However, this wouldn't solve the problem of DoStateWriteOrMeasure's calls to OpenFile failing due to all handles being open. I'm not aware of any games that have that many handles open, though.
2026-07-26GeneralPane: Use ConfigControls for the Speed LimitJoshua Vandaële
2026-07-26GeneralPane: Use ConfigControls for Discord PresenceJoshua Vandaële
2026-07-26GeneralPane: Use ConfigControls for the Fallback RegionJoshua Vandaële
2026-07-25Socket: Resolve incorrect include warningJoshua Vandaële
This is a musl warning, according to fcntl.h's man page, the include should always be <fcntl.h> anyways
2026-07-25CWDemangler: Resolve missing-declarations warningsJoshua Vandaële
2026-07-25DolphinQt/Config: Resolve sign-compare warningsJoshua Vandaële
2026-07-25FileSystemCommon: Resolve maybe-uninitialized warningJoshua Vandaële
2026-07-25DirectoryBlob: Resolve reorder warningJoshua Vandaële
2026-07-25HSP_DeviceGBPlayer: Resolve shadowed variable warningJoshua Vandaële
2026-07-25AboutDialog: Report the SDL version being usedJoshua Vandaële
2026-07-24windeployqt: Disable uneeded DLLsJoshua Vandaële
Since our bump to Qt, dxcompiler.dll and dxil.dll have been added alongside other Qt dlls as part of QtGui. Those DLLs are not needed since we use QtWidgets and not QML.
2026-07-24CMake: Disable install targets on WindowsJoshua Vandaële
2026-07-24CMake: Remove LINUX_LOCAL_DEV and symlink required filesJoshua Vandaële
2026-07-24CMake: Unify sys directoriesJoshua Vandaële
2026-07-24CMake: Unify translation directoriesJoshua Vandaële
2026-07-24Remove Visual Studio Projects and Solutions in favor of CMakeJoshua Vandaële
2026-07-23Merge pull request #14749 from tygyh/Replace-conditions-with-regexScott Mansell
UICommon: Replace `find != std::npos` with `contains`
2026-07-22HW/DSPHLE/AXVoice: Prefer BitCastPtr over BitCastToArray in ApplyUpdatesForMs()Admiral H. Curtiss
2026-07-22UICommon: Replace `find != std::npos` with `contains`Dr. Dystopia
2026-07-22HW/DSPHLE/AXVoice: Check array bounds in ApplyUpdatesForMs()Admiral H. Curtiss
Fixes https://github.com/dolphin-emu/dolphin/security/advisories/GHSA-4q28-hhjv-hf3f
2026-07-22Merge pull request #14436 from cbartondock/masterScott Mansell
Loading custom textures using combination of elf/dol game ids and iso game ids.
2026-07-21Merge pull request #14744 from acts-1631/security/elf-reader-boundsScott Mansell
Core/Boot: validate standalone ELF input ranges
2026-07-20Core: log invalid ELF inputActs1631
Log each rejected ELF header, range, and symbol reference. This provides actionable diagnostics for malformed files without changing the validation behavior.
2026-07-20Core: validate standalone ELF input rangesActs1631
ElfReader trusted table offsets and counts from standalone ELF files. Malformed input could make it read and write past the loaded file buffer. Validate the ELF header, table ranges, segment data, section data, and string-table references before accessing them. Invalid files use the existing executable boot failure path.
2026-07-21IOS/NetIPTopDevice: Zero-initialize sockaddr structsAdmiral H. Curtiss
Fixes https://github.com/dolphin-emu/dolphin/security/advisories/GHSA-5fqv-9qrg-gm4j
2026-07-19NetPlay: bound LZO decompression outputActs1631
NetPlay save synchronization decoded remote LZO blocks with the unsafe decoder and no output capacity. A malicious host could overflow a client buffer with a block larger than its declared size. Use the bounds-checking decoder, validate the declared output length, and grow buffer results only after each checked block has been decoded.
2026-07-19GameFile: Disallow mods from being convertedJoshua Vandaële
2026-07-18Merge pull request #14673 from tommywaaf/android-dolphinbar-balance-boardJosJuice
Android: Route DolphinBar Balance Board to the Balance Board slot
2026-07-17Auto assign wii controllers in netplayTom Pratt
Just copy the gamecube logic and automatically assign players to the first empty slot. More consistent with GameCube and helps Android hosts where there is no UI for managing controller mappings currently.
2026-07-16Merge pull request #14726 from JosJuice/gcadapter-deregister-on-thread-endScott Mansell
GCAdapter: Deregister callback when scan thread exits
2026-07-15Merge pull request #14732 from khang06/small-tmd-checkAdmiral H. Curtiss
IOS/ES: Prevent reading TMDs that are too small
2026-07-15waterfall loading of textures via id to prefer elfid-gameid when launched ↵cbartondock
via elf; fallback to gameid if no match
2026-07-15IOS/ES: Prevent reading TMDs that are too smallKhang
2026-07-15Merge pull request #14222 from Sintendo/ppcsymboldb-lookupScott Mansell
PPCSymbolDB: Avoid double lookups
2026-07-15Merge pull request #14651 from DacoTaco/fixes/dolalignmentScott Mansell
fixes: make dolreader validate section addresses and sizes
2026-07-15Merge pull request #14722 from idkwhere1sthisname/masterScott Mansell
IOS/ES: allow Wii System Transfer and WagonCompat Transfer Tool to pass SetUID check
2026-07-14Merge pull request #14705 from JosJuice/directoryblob-dtk-commentDentomologist
DiscIO: Add DTK alignment comment in DirectoryBlob
2026-07-14Merge pull request #14723 from ↵Admiral H. Curtiss
Dentomologist/resource_pack_manager_fix_crash_when_removing_pack ResourcePackManager: Fix crash when removing pack and properly update list
2026-07-14Merge pull request #14719 from cscd98/m3u-fixAdmiral H. Curtiss
m3u: normalize line endings except win32
2026-07-14DiscIO: Add DTK alignment comment in DirectoryBlobJosJuice
This requirement came up in the review of e013d95. Instead of just removing the comment like e013d95 did, let's add a more detailed comment.
2026-07-14Merge pull request #14729 from JoshuaVandaele/fix-clang-libstdcppScott Mansell
PerformanceMetrics: Fix compiling using clang&libstdc++
2026-07-12Merge pull request #14643 from ↵Dentomologist
Dentomologist/windows_git_bash_fix_command_line_output Windows: Fix command line output not displaying when using Git Bash
2026-07-13Merge pull request #14728 from Simonx22/android/api37-ndk30-dependency-updatesOatmealDome
Android: Update dependencies and build tools
2026-07-13MathUtil: C++20/23 modernisationsJoshua Vandaële
I've also created DegreesToRadians/RadiansToDegrees utility functions since there was a lot of repeated code
2026-07-13PerformanceMetrics: Fix compiling using clang&libstdc++Joshua Vandaële
When using clang and libstdc++, compiling fails with these errors: ``` FAILED: [code=1] Source/Core/VideoCommon/CMakeFiles/videocommon.dir/PerformanceMetrics.cpp.o /usr/sbin/ccache /usr/sbin/clang++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DHAS_OPENGL -DHAS_VULKAN -DHAVE_CPPIPC -DHAVE_LIBSYSTEMD -DIMGUI_USER_CONFIG=\"imgui_user_config.h\" -DLZMA_API_STATIC -DOFF -DPUGIXML_NO_EXCEPTIONS -DRC_CLIENT_SUPPORTS_HASH -DSFML_STATIC -DSPNG_STATIC -DTINYGLTF_NOEXCEPTION -DTINYGLTF_NO_EXTERNAL_IMAGE -DTINYGLTF_USE_CPP14 -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_RETRO_ACHIEVEMENTS -DZSTD_MULTITHREAD -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86_64=1 -D__LIBUSB__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/dolphin-local/Source/Core -I/dolphin-local/Externals/picojson -I/dolphin-local/build/release/x64/Source/Core -I/dolphin-local/Externals/enet/enet/include -I/dolphin-local/Externals/fmt/fmt/include -I/dolphin-local/Externals/mbedtls/include -I/dolphin-local/Externals/minizip-ng/minizip-ng -I/dolphin-local/Externals/liblzma/api -I/dolphin-local/Externals/zstd/zstd/build/cmake/../../lib -I/dolphin-local/Externals/libiconv/include -I/dolphin-local/build/release/x64/Externals/libiconv/lib -I/dolphin-local/Externals/libiconv/libcharset/include -I/dolphin-local/build/release/x64/Externals/libiconv/libcharset -I/dolphin-local/Externals/SFML/SFML/include -I/dolphin-local/Externals/bzip2/bzip2 -I/dolphin-local/Externals/expr/include -I/dolphin-local/Externals/hidapi/hidapi-src/hidapi -I/dolphin-local/Externals/pugixml/pugixml/src -I/dolphin-local/Externals/glslang/glslang/glslang/.. -I/dolphin-local/build/release/x64/include -I/dolphin-local/Externals/rcheevos -I/dolphin-local/Externals/libspng/libspng/spng -I/dolphin-local/Externals/xxhash/xxHash -I/dolphin-local/Externals/imgui -I/dolphin-local/Externals/imgui/imgui -I/dolphin-local/Externals/implot/implot -I/dolphin-local/Externals/glslang/glslang/SPIRV/.. -I/dolphin-local/Externals/tinygltf -isystem /dolphin-local/Externals/libusb/libusb/libusb -isystem /dolphin-local/Externals/glslang/glslang -isystem /dolphin-local/Externals/glslang/glslang/Public -isystem /dolphin-local/Externals/glslang -Qunused-arguments -fcolor-diagnostics -O3 -DNDEBUG -std=c++23 -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -Wall -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wshadow -Wshadow-field-in-constructor -Winit-self -Wmissing-declarations-Wmissing-variable-declarations -Werror=format -Wno-trigraphs -MD -MT Source/Core/VideoCommon/CMakeFiles/videocommon.dir/PerformanceMetrics.cpp.o -MF Source/Core/VideoCommon/CMakeFiles/videocommon.dir/PerformanceMetrics.cpp.o.d -o Source/Core/VideoCommon/CMakeFiles/videocommon.dir/PerformanceMetrics.cpp.o -c /dolphin-local/Source/Core/VideoCommon/PerformanceMetrics.cpp In file included from /dolphin-local/Source/Core/VideoCommon/PerformanceMetrics.cpp:4: /dolphin-local/Source/Core/VideoCommon/PerformanceMetrics.h:69:51: error: no matching constructor for initialization of 'std::atomic<FrameBufferSize>' 69 | std::atomic<FrameBufferSize> m_frame_buffer_size{}; | ^~ /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/16/../../../../include/c++/16/atomic:237:17: note: candidate constructor not viable: constraints not satisfied 237 | constexpr atomic() noexcept(is_nothrow_default_constructible_v<_Tp>) | ^ /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/16/../../../../include/c++/16/atomic:238:11: note: because 'is_default_constructible_v<PerformanceMetrics::FrameBufferSize>' evaluated to false 238 | requires is_default_constructible_v<_Tp> | ^ /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/16/../../../../include/c++/16/atomic:246:7: note: candidate constructor not viable: requires 1 argument, but 0 were provided 246 | atomic(const atomic&) = delete; | ^ ~~~~~~~~~~~~~ /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/16/../../../../include/c++/16/atomic:252:17: note: candidate constructor not viable: requires single argument '__i', but no arguments were provided 252 | constexpr atomic(_Tp __i) noexcept : _M_i(__i) | ^ ~~~~~~~ 1 error generated. ``` This was tested and occurs on both Arch and Alpine Linux.
2026-07-12Android: Update dependencies and build toolsSimonx22
Update Android dependencies and build tools to their latest available versions. Rename the GameCube save magic constant to avoid a collision with the NDK 30 ARM64 signal context header.
2026-07-12m3u: normalize line endings except win32Craig Carnell
2026-07-12GCAdapter: Deregister callback when scan thread exitsJosJuice
We were registering the hotplug callback when starting the thread, but deregistering it when shutting down GCAdapter as a whole. Because the thread can start and stop potentially many times before GCAdapter shuts down, this led to callbacks being registered when we already have callbacks. On Android, this was making Dolphin's Kotlin code for registering the callback throw an IllegalStateException. To fix this, deregister the callback when stopping the thread.