Commit Graph
11915 Commits
Author SHA1 Message Date
Stenzek 0ec7d2bd4e Misc: Remove redundant static qualifier from force-inline functions 2026-06-08 21:54:51 +10:00
Stenzek 24fb22acf3 Controller: Move helper functions into their own file 2026-06-08 21:54:51 +10:00
Stenzek 1e6a006bd0 Controller: Make center a distinct value
Instead of attaching 128 to one side of the axis, make 128 the
all-zeros/center position, which leaves exactly 127 positions
on either side.

Fixes the center not being reported as center in padtest.
2026-06-08 19:48:38 +10:00
Stenzek cae25968fe Achievements: Move init functions to private header 2026-06-07 17:09:18 +10:00
Stenzek 944beca2ce Achievements: Populate saved credentials in ProcessStartup()
Avoids has_saved_credentials not being ready when game list is
refreshing in parallel with core thread startup.
2026-06-07 17:05:13 +10:00
Stenzek 8bf9562c3a Achievements: Fix hardcore toggle not showing summary 2026-06-07 16:32:43 +10:00
Stenzek 134f172395 Achievements: Don't tear down persistent state on enable toggle
Not super relevant at the moment outside of the hashdb.
2026-06-07 16:32:15 +10:00
Stenzek 1f7fcb8c95 GameList: Fix race condition when refreshing from two sources
Unlikely to happen.
2026-06-07 16:22:05 +10:00
Stenzek c660f85320 CPU: Use table lookup for mfc0 2026-06-06 19:12:41 +10:00
Stenzek 2f8e9a8510 MSBuild: Enable strict aliasing for clang 2026-06-06 17:14:53 +10:00
Stenzek 0b700d1b81 GTE: Eliminate bounds check in dispatcher 2026-06-06 15:02:34 +10:00
Stenzek 2b5baa1b82 CPU: Add more branch hints to interpreter
Eliminate more bounds checks. This plus the last change can net up to a
20% performance improvement in some games when using the interpreter
(tested on AMD 7950X3D).
2026-06-06 14:56:37 +10:00
Stenzek 667e1147a4 CPU: Add branch hints to interpreter dispatch
Eliminates the bounds check in the switch loop.
2026-06-06 14:53:04 +10:00
Stenzek 18f581ef93 CPU: Use ternary in CPU::WriteRegDelayed()
Shouldn't make any net difference, a good compiler will turn this into a
cmov anyway.
2026-06-06 14:35:58 +10:00
Stenzek 1d71915fb4 CDROM: Show effective read speed in debug window
Useful for debugging max speedup.
2026-06-06 14:13:08 +10:00
Stenzek 2c6ac7d4f0 CDROM: Add manual control of lid state
In debug menu, deliberately hidden from the noobs.
2026-06-06 14:13:08 +10:00
Stenzek 8ac294d4f9 CDROM: Fix DisableReadSpeed() never having any effect 2026-06-06 12:31:14 +10:00
Davide Pesavento 02a41fa063 GameDB: Add metadata to King's Field 3 - Pilot Style (#3749) 2026-06-05 11:36:42 +10:00
Stenzek e23bc84bb9 Achievements: Always prefetch game badge before achievement badges 2026-06-02 21:37:41 +10:00
Stenzek 22ee4c0760 CMake: Build with immediate binding/full relro
Doing a full xsave/xrstor the first time a library function is
called is completely bonkers. Plus the obvious security issues
with the PLT being writable.

And people think this OS is faster than Windows. Even with immediate
binding it's still slower, since it's a single indirect call on
Windows, versus a direct call+indirect jump here.
2026-06-02 21:36:04 +10:00
Stenzek e21bf74f29 Qt: Replace most _L1 usage with _s
Avoids runtime heap allocation.

NOTE: appending, comparing, etc with latin1 views are still
allocation-free.
2026-06-02 20:57:48 +10:00
Stenzek 8dd88aad2c Qt: Make verify serial mismatch message clearer 2026-06-02 20:33:34 +10:00
Stenzek 2f0cd4d4c0 DiscDB: Remove duplicate entries for some multi-disc games 2026-06-02 20:33:24 +10:00
Davide Pesavento 00149a5be0 Qt: Disable buttons if controller port is empty (#3748) 2026-06-02 12:28:17 +10:00
Davide Pesavento 15d8f68d3b Merge pull request #3747 from Pesa/overlap
Qt: Fix overlapping widgets in game summary
2026-06-01 15:02:00 +10:00
Davide Pesavento a901824455 Qt: Improve icon consistency 2026-06-01 14:02:24 +10:00
Davide Pesavento 2b1a6cf2b5 Qt: More appropriate icon for "Search on Redump" button 2026-06-01 14:02:24 +10:00
Stenzek e8938f0634 Qt: Remove more unused icons v0.1-11391 2026-05-30 12:40:35 +10:00
Stenzek 86b3c0e7d2 Qt: Fix missing monochrome in controller settings 2026-05-30 12:40:12 +10:00
Stenzek 872d6092b9 Qt: Use SVGWidget for icon in debugging settings
Makes it respond to colour changes.
2026-05-30 12:22:53 +10:00
Stenzek 11216ccd5e Qt: Tint non-coloured disabled icons in SVGIconEngine 2026-05-30 12:22:34 +10:00
Stenzek f93965b841 Qt: Handle icon state in SVGIconEngine 2026-05-30 12:18:31 +10:00
Stenzek e401050207 Qt: Preserve aspect ratio in SVGIconEngine 2026-05-30 12:05:13 +10:00
Stenzek bbde5c661a CueParser: Switch to fmt for errors
And when the format is invalid, display the format/file.
2026-05-29 18:43:19 +10:00
Stenzek 00733714c1 CDImageCue: Remove unused variable 2026-05-29 18:43:18 +10:00
Stenzek c1165ab037 MediaCapture: Fix Media Foundation refusing to load 2026-05-29 18:43:18 +10:00
Stenzek 15bfa50cee Qt: Make SVGWidget respond to palette changes 2026-05-29 18:43:18 +10:00
Stenzek 21c6ab5822 Qt: Use SVGWidget for empty game list icon 2026-05-29 18:43:18 +10:00
Stenzek b429993e08 Qt: Move most recent migration to updater
Saves checking on every startup.
2026-05-29 18:43:18 +10:00
Arif Ahmadov 61b31b3e28 Update Azerbaijani Translation (#3745)
* Change Azerbaijani translation entry to 'Azərbaycanca'

* Translation Update (AZ)

* Add Azerbaijani contributor bilginGamer

* Fix Translation (AZ)

* Add files via upload

Update Azerbaijani Translation
2026-05-28 01:21:11 +10:00
Stenzek 5a21a6c8df Host: Add icon to ConfirmMessageAsync()
And use it for achievements.
2026-05-27 18:00:58 +10:00
Stenzek ef7637413b SPU: Use display fractional volume for voices as well 2026-05-27 17:27:35 +10:00
Nagtan a3f4a086e7 SPU: increase volume display precision in debug window 2026-05-27 17:25:21 +10:00
Nagtan 70ec9c4915 SPU: show friendly reverb mode names in debug window 2026-05-27 17:22:32 +10:00
Stenzek 5ad980b322 Qt: Fix incorrect icon path
Regression from 49f5f38c48.
2026-05-27 17:10:11 +10:00
Stenzek de69bc496e FullscreenUI: Add images to controller settings 2026-05-27 17:10:11 +10:00
Stenzek 8fe9077ca0 Qt: Store controller images in main data instead of qrc
Allows FullscreenUI to access it.

Also use SVGWidget for rendering for 1:1 DPR and avoiding scaling.
2026-05-27 17:10:11 +10:00
Stenzek ad676f7e3a FullscreenUI: Preserve aspect ratio of SVG images 2026-05-27 17:10:11 +10:00
Stenzek dddc091221 FullscreenUI: Fix double scaling of some UI elements 2026-05-27 17:10:11 +10:00
Stenzek 099f8bdd22 Qt: Rename ThemeSVGIconEngine to SVGIconEngine
More consistent.
2026-05-27 17:10:11 +10:00