summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2025-01-08MemoryViewWidget: Refactor updates using a dispatch function. Isolate memory ↵TryTwo
reads from table updates. Preparations for auto update while a game is running.
2025-01-08Vulkan: Only attempt to create a CAMetalLayer on macOSOatmealDome
2025-01-08MemArena: Add Darwin implementationOatmealDome
2025-01-08Merge pull request #13228 from OatmealDome/fix-curl-2Admiral H. Curtiss
curl: Update to 8.11.1 and use CMake to configure
2025-01-08Merge pull request #13262 from Ferdi265/feature/fix-fmt11Admiral H. Curtiss
Fix compiling with libfmt>=11.0
2025-01-08Common/IniFile: Fix case sensitivity mismatch in IniFile::Section::Delete()Admiral H. Curtiss
values uses a case insensitive comparison, so erasing the equivalent key in keys_order also must do so.
2025-01-08Merge pull request #13180 from jordan-woyak/eof-logicAdmiral H. Curtiss
Core/VideoCommon: Fix some weird (!eof) logic.
2025-01-07GeckoCodeConfig: Remove HTTPS workaround for AndroidOatmealDome
2025-01-07WiiUtils: Remove HTTPS workaround for AndroidOatmealDome
2025-01-07MemoryViewWidget: Refactor. Remove OnItemChanged signal and QSignalBlocker - ↵TryTwo
replace with a signal that is only sent at the correct time.
2025-01-07Merge pull request #13162 from jordan-woyak/non-blocking-input-detectionOatmealDome
DolphinQt/InputCommon: Make input mapping and output testing non-blocking.
2025-01-07Qt, Config controls system: Remove signal block so signals can refresh the ↵TryTwo
enabled status of certain options when a new config is loaded (such as on starting a game). Blocks previously unwanted behavior with a new safety check. QCheckBox::toggled and other similar signals are used to save changes and to update widget status (such as enabled).. OnConfigChanged needs to load new values and trigger widget updates, but the new value shouldn't trigger a save. A save is unnecessary (the config has the correct values and the UI is being updated to those values) and it'd trigger another ConfigChanged signal. This commit blocks the save without blocking the signal entirely.
2025-01-06JitArm64_SystemRegisters: Small FixGTBeforeSettingCRFieldBit optimizationSintendo
The computed value is only used when the register is equal to zero, so we can fully precompute it and materialize the constant instead. In other words, we change from ``` return reg == 0 ? (reg | 1ULL << 63) : reg; ``` to ``` return reg == 0 ? 1ULL << 63 : reg; ``` The number of instructions remains the same, but we eliminate an unnecessary dependency on the register value. Before: 0xb241037a orr x26, x27, #0x8000000000000000 0xeb1f037f cmp x27, xzr 0x9a9a137b csel x27, x27, x26, ne After: 0xd2f0001a mov x26, #-0x8000000000000000 ; =-9223372036854775808 0xeb1f037f cmp x27, xzr 0x9a9a137b csel x27, x27, x26, ne
2025-01-06Fix several minor warningsSintendo
2025-01-06Merge pull request #13257 from CasualPokePlayer/dtm_country_codeJosJuice
Add SYSCONF country code to DTM
2025-01-06Merge pull request #13251 from Sintendo/carry-optsJosJuice
JitArm64_Integer: Carry flag optimizations
2025-01-06Merge pull request #13149 from Sintendo/dcbx-msubJosJuice
JitArm64_LoadStore: Small dcbx optimization
2025-01-06Merge pull request #13210 from OatmealDome/fix-scmrevgenOatmealDome
ScmRevGen: Don't generate Info.plist files directly
2025-01-04Merge pull request #13233 from TryTwo/PR_CodecJMC47
AdvancedWidget: Replace FFV1 codec with Ut Video
2025-01-04Common: Fix compile failure with fmt>=11Ferdinand Bachmann
2025-01-04BBA/HLE: Fix incorrect fmt format stringFerdinand Bachmann
2025-01-04PPCSymbolDB: Check SplitString resultSepalani
2025-01-04PPCSymbolDB: Add alignment detection heuristicSepalani
Update parse_entry_of in accordance to the sscanf change
2025-01-04PPCSymbolDB: Deduplicate parsing of the 'entry of' stringSepalani
2025-01-04PPCSymbolDB: Use ranges in SaveSymbolMapSepalani
2025-01-04NetPlay: Implement GetInterfaceListInternal for Windows.Jordan Woyak
2025-01-03Merge pull request #12801 from JosJuice/jitarm64-crxxx-optJMC47
JitArm64: Optimize crXXX
2025-01-01DolphinQt: Make input mapping and output testing non-blocking.Jordan Woyak
2025-01-01InputCommon: Move input mapping function into a class for non-blocking usage.Jordan Woyak
2025-01-01Simplify `std::search` with `Common::ContainsSubrange`mitaclaw
2025-01-01Simplify `std::find_if` with `Common::Contains`mitaclaw
2025-01-01Simplify `std::find` with `Common::Contains`mitaclaw
In NandPaths.cpp, the `std::initializer_list<char>` of illegal characters has been turned into a `char[]` (similar to the one in GameList.cpp). The reverse iteration in ResourcePack.cpp seemed to provide no benefits, and doing without it it seemed to have no ill effects.
2025-01-01Common: Create "Contains.h" Algorithm Headermitaclaw
The new `Common::Contains` and `Common::ContainsSubrange` function objects mirror C++23's `std::ranges::contains` and `std::ranges::contains_subrange`, respectively.
2024-12-30Core/VideoCommon: Fix some weird (!eof) logic.Jordan Woyak
2024-12-30Frame Dumping: Change lossless codec from FFV1 to Ut Video.TryTwo
Ut Video is faster and more compatible with editing programs, but produces larger files.
2024-12-30Add SYSCONF country code to DTMCasualPokePlayer
Recently there was some issues in TASVideos trying to sync a Donkey Kong Country Returns TAS. It eventually was synced by directly using the config from the TAS author. The exact setting which caused the desync was narrowed down to being in SYSCONF, with the country code. The TAS author lives in the US, so the country code matched the US country code, while the person attempting to sync the TAS did not live in the US. Adding SYSCONF country code to the DTM should avoid this being an issue for future Dolphin versions.
2024-12-29JitArm64_Integer: addzex - Optimize InHostCarry case for 0Sintendo
Before: 0x5280000d mov w13, #0x0 ; =0 0x1a1f01ae adc w14, w13, wzr After: 0x1a9f37ee cset w14, hs
2024-12-28JitArm64_Integer: addzex - Optimize InPPCState case for 0Sintendo
Before: 0x52800019 mov w25, #0x0 ; =0 0x394bd3b8 ldrb w24, [x29, #0x2f4] 0x2b180339 adds w25, w25, w24 After: 0x394bd3b9 ldrb w25, [x29, #0x2f4]
2024-12-28JitArm64_Integer: addzex - Optimize ConstantFalse and ConstantTrueSintendo
When the input register and carry flags are known, we can always precompute the result. We still materialize the immediate when the condition register needs to be updated, but this seems to be a general problem. I might look into that one day, but for now this'll do. - ConstantFalse Before: 0x52800119 mov w25, #0x8 ; =8 0x2a1903fa mov w26, w25 After: N/A - ConstantTrue Before: 0x52800119 mov w25, #0x8 ; =8 0x1100073a add w26, w25, #0x1 After: N/A
2024-12-28JitArm64_Integer: addex - Optimize InHostCarry for -1Sintendo
Same thing we did for subfex. Before: 0x1280001a mov w26, #-0x1 ; =-1 0x1a1f035a adc w26, w26, wzr After: 0x5a9f23fa csetm w26, lo
2024-12-28JitArm64_Integer: addex - Optimize InHostCarry for 0Sintendo
Similar to what we did for subfex, but for 0. Before: 0x5280001b mov w27, #0x0 ; =0 0x1a1f037b adc w27, w27, wzr After: 0x1a9f37fb cset w27, hs
2024-12-28JitArm64_Integer: addex - Optimize InPPCState case for 0Sintendo
Same optimization we did for subfex. Skip loading the carry flag into a temporary register first when we're dealing with zero. Before: 0x394bd3b8 ldrb w24, [x29, #0x2f4] 0x2a1803f9 mov w25, w24 After: 0x394bd3b9 ldrb w25, [x29, #0x2f4]
2024-12-28JitArm64_Integer: subfzex - Constant foldingSintendo
When both the input register and the carry flag are constants, the result can be precomputed. Before: 0x52800016 mov w22, #0x0 ; =0 0x2a3603f6 mvn w22, w22 After:
2024-12-28JitArm64_Integer: subfex - Optimize InHostCarry case for -1Sintendo
The result is either -1 or 0 depending on the state of the carry flag. This can be done with a csetm instruction. Before: 0x1280001a mov w26, #-0x1 ; =-1 0x1a1f035a adc w26, w26, wzr After: 0x5a9f23fa csetm w26, lo
2024-12-28JitArm64_Integer: subfex - Optimize InPPCState case for 0Sintendo
When the immediate is zero, we can load the carry flag from memory directly to the destination register. Before: 0x394bd3b8 ldrb w24, [x29, #0x2f4] 0x2a1803f9 mov w25, w24 After: 0x394bd3b9 ldrb w25, [x29, #0x2f4]
2024-12-28JitArm64_Integer: Refactor subfexSintendo
2024-12-28JitBase: Improve const-correctnessSintendo
2024-12-28JitBase: Add HasConstantCarry helperSintendo
2024-12-28Core/VideoCommon: Fix duplicate OSD Custom Textures messagesdreamsyntax
Resolves duplicate OSD messages for Loading and Found custom textures. VideoBackend initialization results in HiresTexture::Init being called. We already call HiresTexture::Update when OnNewTitleLoad is called. Thus we can remove HiresTextures::Init completely as it is redundant.
2024-12-27DolphinQt/HacksWidget: Convert accuracy slider to ConfigSliderAdmiral H. Curtiss