summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2024-12-27DolphinQt: Add option for value mappings to ConfigSliderAdmiral H. Curtiss
2024-12-26Merge pull request #13116 from mitaclaw/ranges-modernization-8-trivial-ofJMC47
Ranges Algorithms Modernization - Of
2024-12-25JitArm64: Use AArch64 imm masks in rlwimix slow caseJosJuice
All valid PPC imm masks (except for all zeroes and all ones) are also valid AArch64 imm masks. This lets us optimize things a little. Note that because I'm now ANDing rS before rotating it, its AND mask is rotated left. All AArch64 imm masks can be rotated by any amount and still be valid AArch64 imm masks.
2024-12-25JitArm64: Handle rlwinmx with zero maskJosJuice
No games seem to use this, so this isn't useful as a performance optimization, but it's required for correctness because the (sh == 0) case of our implementation doesn't handle zero masks.
2024-12-23Qt crash fix. Don't store Config::Info variable as a reference.TryTwo
2024-12-22Merge pull request #13211 from Sintendo/blendvpdJMC47
Jit_FloatingPoint: fselx - Prefer BLENDVPD over VBLENDVPD
2024-12-22Merge pull request #13212 from JosJuice/jitarm64-ps-sel-same-regJMC47
JitArm64: Optimize ps_sel with d == b || d == c
2024-12-22Merge pull request #13063 from TryTwo/PR_GameSettingsJosJuice
Add ability to edit game-specific GFX settings from game properties tab.
2024-12-22Merge pull request #13214 from JosJuice/sethardcoremode-privateAdmiral H. Curtiss
AchievementManager: Make SetHardcoreMode private
2024-12-20Merge pull request #13091 from mitaclaw/ranges-modernization-2-returnsJMC47
Ranges Algorithms Modernization - Return
2024-12-18Merge pull request #13224 from Sintendo/jitarm64-subfic2JMC47
JitArm64_Integer: Optimize subfic for -1
2024-12-16Merge pull request #13207 from OatmealDome/vulkan-hdr-color-spaceOatmealDome
VKSwapChain: Always use surface formats with a normal sRGB color space if not RGBA16F
2024-12-15Modernize `std::none_of` with rangesmitaclaw
In JitRegCache.cpp, the lambda predicate were replaced by a pointer to member function because ranges algorithms are able to invoke those. In ConvertDialog.cpp, the `std::mem_fn` helper was removed because ranges algorithms are able to handle pointers to member functions as predicates. In BoundingBox.cpp, the lambda predicate was returning the bool element unchanged, so `std::identity` was a better fit.
2024-12-15Modernize `std::any_of` with rangesmitaclaw
In WiimoteReal.cpp, JitRegCache.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those. In ConvertDialog.cpp, the `std::mem_fn` helper was removed because ranges algorithms are able to handle pointers to member functions as predicates.
2024-12-15Modernize `std::all_of` with rangesmitaclaw
In DITSpecification.cpp, MaterialAsset.cpp, and ShaderAsset.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those. In NetPlayClient.cpp, the non-trivial `NetPlay::Player` elements were being passed by value in `NetPlayClient::DoAllPlayersHaveGame()`. This has been fixed. In WIABlob.cpp, the second example's predicate was returning the `std::optional` by value instead of implicitly converting it to a bool. This has been fixed.
2024-12-15StringUtil: More Wrappers For <cctype>mitaclaw
`Common::IsLower(char)` was omitted as nothing needed it.
2024-12-15VerifyTool: Add missing USE_RETRO_ACHIEVEMENTS ifdefsJosJuice
2024-12-15AchievementManager: Add required forward declarationsJosJuice
This was causing compilation errors when building without USE_RETRO_ACHIEVEMENTS.
2024-12-15JitArm64_Integer: Optimize subfic for -1Sintendo
Another one backported from x86. Not sure why I didn't do this in #12891 already. - Without carry Before: 0x2a3a03fb mvn w27, w26 0x6b1a037b subs w27, w27, w26 After: 0x1280001b mov w27, #-0x1 ; =-1 - With carry Before: 0x2a3b03f7 mvn w23, w27 0x6b1b02f7 subs w23, w23, w27 0x1a9f37f6 cset w22, hs 0x390bd3b6 strb w22, [x29, #0x2f4] After: 0x12800017 mov w23, #-0x1 ; =-1
2024-12-14Branch Watch Tool: Refresh Context Menus OnEmulationStateChangedmitaclaw
2024-12-12Merge pull request #12682 from JosJuice/jit-fallback-discard-assertJosJuice
Jit: Skip discarded registers when flushing for interpreter fallback
2024-12-10Add method to bold slider/spin labels when a user game ini setting is being usedTryTwo
2024-12-10EnhancementsWidget:: Move to using ConfigControls and add new control for ↵TryTwo
ComboBoxes that set two settings at once.
2024-12-10Add GFX property tabs to game properties window, allowing them to be set to ↵TryTwo
the user game ini. Additionally, refactor ConfigWidgets to reduce duplication. Refactor GameConfigWidget to use config system. Creates a layer outside the game config layer system and passes it to the created gfx widows, so as to not interfere with the global config system. Supports multiple game properties being open at once. Supports editing while a game is playing, but the options only save and update the active game when the window is closed. Right-clicking will remove a property from the game ini.
2024-12-10Merge pull request #13209 from jordan-woyak/sdl-touchpadJMC47
InputCommon/SDL: Add touchpad inputs.
2024-12-08Merge pull request #13166 from Sintendo/stX-optJosJuice
JitArm64_LoadStore: Optimize zero stores in stX
2024-12-07Merge pull request #13113 from CelestialAmber/mwld-mapOatmealDome
Core: Store object name separately for symbols
2024-12-07AchievementManager: Make SetHardcoreMode privateJosJuice
This is an implementation detail that doesn't need to be exposed.
2024-12-07Core: Remove redundant lock for FilterApprovedPatches callJosJuice
This was necessary before we added locking inside FilterApprovedPatches, but not anymore.
2024-12-07DolphinQt: Refactor, add ConfigControl classTryTwo
This reduces code duplication in the different ConfigControls. This is helpful for the next commit, which will modify the now deduplicated code.
2024-12-07JitArm64: Optimize ps_sel with d == b || d == cJosJuice
2024-12-07Jit_FloatingPoint: Prefer BLENDVPD over VBLENDVPDSintendo
Prefer BLENDVPD over VBLENDVPD if the latter doesn't save any instructions. VBLENDVPD allows separate source and destination registers, which can eliminate a MOVAPD/MOVSD. However, on Intel since Skylake, VBLENDVPD takes additional uops to execute compared to BLENDVPD (according to https://uops.info). On AMD and older Intel microarchitectures there is no difference.
2024-12-07Merge pull request #13196 from jordan-woyak/expanding-numeric-settingsJosJuice
DolphinQt: Make mapping window spinboxes horizontally expanding.
2024-12-05ScmRevGen: Don't generate Info.plist files directlyOatmealDome
Some generators (like Unix Makefiles and Xcode) copy an app's Info.plist at configure time. This causes a problem when we need to generate the Info.plist at build time, like how we currently do it with ScmRevGen. Instead of generating the Info.plist directly in ScmRevGen, provide an Info.plist without any version information to CMake at configure time, have ScmRevGen generate a separate plist file with the version information at build time, and then merge the two together to create the final Info.plist.
2024-12-05Merge pull request #13200 from ↵JosJuice
Dentomologist/irwidget_move_header_constants_into_class IRWidget: Move header constants into class
2024-12-04DolphinQt: Use TARGET_BUNDLE_DIR generator expression instead of specifying ↵OatmealDome
the bundle path ourselves
2024-12-04InputCommon/SDL: Add touchpad inputs.Jordan Woyak
2024-12-04Merge pull request #13174 from jordan-woyak/sdl-batteryJMC47
ControllerInterface/SDL: Add Battery Input.
2024-12-03VKSwapChain: Always use surface formats with a normal sRGB color space if ↵OatmealDome
not RGBA16F Co-authored-by: TellowKrinkle <tellowkrinkle@gmail.com>
2024-12-03Merge pull request #13197 from jordan-woyak/vrr-mapping-indicatorsJMC47
DolphinQt: Update mapping indicators at screen refresh rate.
2024-12-02Merge pull request #12955 from LillyJadeKatrin/retroachievements-geckoJMC47
Add Support for Gecko Codes to Achievements Whitelist
2024-12-01Android/GCAdapter: Don't join current threadJosJuice
The read thread could call Reset, which in turn tried to join the read thread, leading to a SIGABRT. This manifested as Dolphin consistently crashing when disconnecting a GC adapter and having a chance of crashing a few seconds after connecting a GC adapter.
2024-11-29Approve Super Mario Sunshine Widescreen Gecko CodeLillyJadeKatrin
2024-11-27Scale back hardcore code blockLillyJadeKatrin
Now that patches and codes are enabled on a case by case basis, remove patcher code blocking codes entirely in hardcore mode, and reword the warning to be more accurate.
2024-11-27Add AR Code Whitelist ApprovalLillyJadeKatrin
2024-11-27Add Gecko Code Whitelist ApprovalLillyJadeKatrin
2024-11-27Convert FilterApprovedPatches to TemplateLillyJadeKatrin
2024-11-26IRWidget: Move header constants into classDentomologist
This apparently didn't compile on macOS six years ago before c++20, but it should be fine by now. While I'm at it, make the constants upper case per convention.
2024-11-25DolphinQt: Update mapping indicators at screen refresh rate.Jordan Woyak
2024-11-25DolphinQt: Make mapping indicators compatible with a variable update frequency.Jordan Woyak