summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2025-02-03WiimoteEmu: Use a named constant instead of a magic number for speakerJordan Woyak
data writes.
2025-02-03WiimoteEmu/MotionPlus: Gyro data calculation cleanup.Jordan Woyak
2025-02-02PerformanceMetrics: Allow users to move overlaysDentomologist
Allow users to move the FPS, VPS, Speed, and Performance Graph overlays.
2025-02-02Core: Check if msr.DR or msr.IR are valid at ApplyStartupPatchesSketch
2025-02-02PerformanceMetrics: Call ImGui::End() unconditionallyDentomologist
Move ImGui::End() calls out of if(ImGui::Begin()) blocks. Quoting from ImGui::Begin's function comment in imgui.cpp: "You always need to call ImGui::End() even if false is returned." In practice this didn't cause problems because the windows don't have title bars and thus can't be collapsed, and so the block containing ::End would always run, but let's do it the right way.
2025-02-02InputCommon/ExpressionParser: Add compound assignment operators.Jordan Woyak
2025-02-02Merge pull request #13254 from brad0/openbsd_aarch64Admiral H. Curtiss
ArmCPUDetect: Add OpenBSD support for elf_aux_info
2025-02-02Merge pull request #13208 from ↵Admiral H. Curtiss
Dentomologist/wiitasinputwindow_update_on_attachment_change WiiTASInputWindow: Update controls when attachment changes
2025-02-02Merge pull request #13306 from OatmealDome/cubeb-optionalAdmiral H. Curtiss
CMakeLists: Add flag to disable Cubeb
2025-02-02Merge pull request #13317 from cristian64/spurious_config_fileAdmiral H. Curtiss
DolphinQt: Use global settings object also for debugger settings.
2025-02-02Merge pull request #13315 from jordan-woyak/func-exp-cleanupAdmiral H. Curtiss
InputCommon/ExpressionParser: Function argument parsing minor cleanup.
2025-02-02Merge pull request #13314 from jordan-woyak/input-expressions-assignment-op-fixAdmiral H. Curtiss
InputCommon: Fix input expression assignment operator behavior.
2025-02-02JitArm64_RegCache: Const correctnessSintendo
Forgot this when I added it in #13120.
2025-02-02JitArm64_Integer: cmpl - Subtract shifted 12-bit constantSintendo
You can encode a shifted 12-bit immediate in a SUB instruction on ARM64. We exploit this to avoid materializing the immediate. This approach saves an instruction if it does not need to be materialized in a register afterwards. Otherwise, we just materialize it later and the total number of instructions stays the same. Before: 0x52a00218 mov w24, #0x100000 ; =1048576 0xcb180379 sub x25, x27, x24 After: 0xd1440379 sub x25, x27, #0x100, lsl #12 ; =0x100000
2025-02-02JitArm64_Integer: cmpl - Subtract 12-bit constantSintendo
You can encode a 12-bit immediate in a SUB instruction on ARM64. We can exploit this to avoid materializing the immediate. This approach saves an instruction if it does not need to be materialized in a register afterwards. Otherwise, we just materialize it later and the total number of instructions stays the same. Before: 0x5280003a mov w26, #0x1 ; =1 0xcb1a033b sub x27, x25, x26 After: 0xd100073b sub x27, x25, #0x1
2025-02-02JitArm64_Integer: cmp - Skip sign extension if possibleSintendo
While we cannot always avoid materializing immediates, we can still inspect the most significant bit and potentially skip sign extension. This can sometimes save an instruction. Before: 0x5280003a mov w26, #0x1 ; =1 0x93407f5b sxtw x27, w26 0xcb38c37b sub x27, x27, w24, sxtw After: 0x5280003a mov w26, #0x1 ; =1 0xcb38c35b sub x27, x26, w24, sxtw Before: 0x52a20018 mov w24, #0x10000000 ; =268435456 0x93407f79 sxtw x25, w27 0xcb38c339 sub x25, x25, w24, sxtw After: 0x52a20018 mov w24, #0x10000000 ; =268435456 0x93407f79 sxtw x25, w27 0xcb180339 sub x25, x25, x24
2025-02-02JitArm64_Integer: cmp - Add shifted 12-bit constantSintendo
You can encode a shifted 12-bit immediate in an ADD instruction on ARM64. If the negated constant fits in this range, we can exploit this to avoid materializing the immediate. This approach saves an instruction if it does not need to be materialized in a register afterwards. Otherwise, we just materialize it later and the total number of instructions stays the same. Before: 0x52bff01a mov w26, #-0x800000 ; =-8388608 0x93407f1b sxtw x27, w24 0xcb3ac37b sub x27, x27, w26, sxtw After: 0x93407f1b sxtw x27, w24 0x9160037b add x27, x27, #0x800, lsl #12 ; =0x800000
2025-02-02JitArm64_Integer: cmp - Add 12-bit constantSintendo
You can encode a 12-bit immediate in an ADD instruction on ARM64. If the negated constant fits in this range, we can exploit this to avoid materializing the immediate. This approach saves an instruction if it does not need to be materialized in a register afterwards. Otherwise, we just materialize it later and the total number of instructions stays the same. Before: 0x12800019 mov w25, #-0x1 ; =-1 0x93407f5b sxtw x27, w26 0xcb39c37b sub x27, x27, w25, sxtw After: 0x93407f5b sxtw x27, w26 0x9100077b add x27, x27, #0x1
2025-02-02JitArm64_Integer: cmp - Subtract shifted 12-bit constantSintendo
You can encode a shifted 12-bit immediate in a SUB instruction on ARM64. Constants in this range do not need to be sign extended, so we can exploit this to avoid materializing the immediate. This approach saves an instruction if it does not need to be materialized in a register afterwards. Otherwise, we just materialize it later and the total number of instructions stays the same. Before: 0x52a00099 mov w25, #0x40000 ; =262144 0x93407f7a sxtw x26, w27 0xcb39c35a sub x26, x26, w25, sxtw After: 0x93407f7a sxtw x26, w27 0xd141035a sub x26, x26, #0x40, lsl #12 ; =0x40000
2025-02-02JitArm64_Integer: cmp - Subtract 12-bit constantSintendo
You can encode a 12-bit immediate in a SUB instruction on ARM64. Constants in this range do not need to be sign extended, so we can exploit this to avoid materializing the immediate. This approach saves an instruction if it does not need to be materialized in a register afterwards. Otherwise, we just materialize it later and the total number of instructions stays the same. Before: 0x52800416 mov w22, #0x20 ; =32 0x93407f78 sxtw x24, w27 0xcb36c318 sub x24, x24, w22, sxtw After: 0x93407f78 sxtw x24, w27 0xd1008318 sub x24, x24, #0x20
2025-02-02VideoBackends: Use DXGI 1.6 and D3D11_4Xphalnos
2025-02-02Merge pull request #13280 from jordan-woyak/input-expressions-highlightingJMC47
InputCommon/DolphinQt: Fix sometimes broken syntax highlighting in IOWindow.
2025-02-01DolphinQt/Mapping: Add setting to enable waiting for alternate mappingsJordan Woyak
using the OR-operator.
2025-02-01LibusbDevice: Don't detach kernel drivers on macOSSanjay Govind
2025-01-30DolphinQt: Use global settings object also for debugger settings.cristian64
A number of settings in the `debugger` group were wrongly using a newly constructed `QSettings` object instead of the singleton object that `GetQSettings()` provides. This made the application create a spurious, extra configuration file in the user directory: ``` ~/.config/Dolphin Emulator/dolphin-emu.conf ``` Notice that, by default, the application configuration files are stored in `~/.config/dolphin-emu`; not in `~/.config/Dolphin Emulator`.
2025-01-30Refactor: infinite loop based on Dolphin's style guidelinesJavier Martinez
2025-01-29Merge pull request #13305 from OatmealDome/vertexloader-configOatmealDome
VertexLoaderBase: Allow the vertex loader type to be set via config
2025-01-28InputCommon/ExpressionParser: Make ValidateArguments access existingJordan Woyak
members instead of passing arguments.
2025-01-28InputCommon/ExpressionParser: Make function argument parsing errorJordan Woyak
message more clear.
2025-01-28Merge pull request #13310 from jordan-woyak/small-vec-placement-newJMC47
Common: Make SmallVector work with non-standard-layout types.
2025-01-28Merge pull request #13291 from iwubcode/imgui_1_91_7JMC47
Externals / VideoCommon: update imgui to 1.91.7 and implot to v0.16
2025-01-28InputCommon: Fix input expression assignment operator behavior.Jordan Woyak
2025-01-28Merge pull request #13267 from Sintendo/arm64-fix-gt-microAdmiral H. Curtiss
JitArm64_SystemRegisters: Small FixGTBeforeSettingCRFieldBit optimization
2025-01-28Merge pull request #13304 from JoshuaVandaele/argsegfaultAdmiral H. Curtiss
Fix segfault when passing invalid arguments
2025-01-27Merge pull request #13297 from jordan-woyak/config-ext-btnJMC47
DolphinQt: Add a "Configure Extension" button under the extension selection combo box.
2025-01-27Merge pull request #13178 from jordan-woyak/input-expressions-conditional-opJMC47
InputCommon: Add ternary conditional operator to input expressions.
2025-01-27Merge pull request #11261 from TryTwo/PR_MemoryView_Auto_UpdateJMC47
MemoryView auto-update while running and color recently changed cells.
2025-01-27Merge pull request #13213 from JosJuice/remove-filter-patches-lockJosJuice
Core: Remove redundant lock for FilterApprovedPatches call
2025-01-26Common: Make SmallVector work with non-standard-layout types.Jordan Woyak
2025-01-26Merge pull request #13296 from jordan-woyak/sdl-motor-lrJosJuice
InputCommon: Make SDL Motor L/R Outputs not fight each other and support trigger rumble.
2025-01-26Merge pull request #13290 from iwubcode/formatter_abstract_texture_typeJosJuice
VideoCommon: add formatter for AbstractTextureType
2025-01-26Merge pull request #13229 from sanjay900/wii-drum-velocity-fixesJosJuice
WiimoteEmu: Fix Drum Extension Velocity
2025-01-26Merge pull request #13298 from jordan-woyak/less-bt-spamJosJuice
Core/WiimoteReal: Make Wii Remote scan logging less spammy on Linux.
2025-01-25CMakeLists: Add flag to disable CubebOatmealDome
2025-01-25Merge pull request #13303 from JoshuaVandaele/aboutresizeJosJuice
AboutDialog: Disable resizing the About window
2025-01-24VertexLoaderBase: Allow the vertex loader type to be set via configOatmealDome
2025-01-24Merge pull request #13192 from jordan-woyak/netplay-win32-interface-listJordan Woyak
NetPlay: Implement GetInterfaceListInternal for Windows.
2025-01-24Fix segfault when passing invalid argumentsJoshua Vandaële
2025-01-24AboutDialog: Disable resizing the About windowJoshua Vandaële
2025-01-24WiimoteEmu: Fix Drum Extension VelocitySanjay Govind