Commit Graph
12604 Commits
Author SHA1 Message Date
Stenzek c401e9318d CPU/Recompiler: Preserve pending loads on memory exceptions
Include the pending load in exception flushes so RaiseException commits it before entering the handler on every backend.
2026-10-10 21:47:41 +10:00
Stenzek 3a8b6fccfc CPU/Recompiler: Trap constant signed arithmetic overflow
Detect overflow in folded ADD, SUB and ADDI and use the interpreter exception path, including writes to zero and branch delay slots.
2026-10-10 21:47:41 +10:00
Stenzek bd29ee475f CPU/Recompiler: Dispatch interpreter fallback exceptions
Exit generated blocks when the interpreter raises an exception, preserving its handler PC across all backends and implementing the missing RISC-V and LoongArch fallback paths.
2026-10-10 21:47:41 +10:00
Stenzek e78ab9a273 CPU/Recompiler: Keep link-register delay slots in order
Track ra as the implicit branch-and-link destination and check decoded register dependencies before swapping the delay slot.
2026-10-10 21:47:41 +10:00
Stenzek 0aa0c767e1 CPU/Recompiler: Cancel pending loads on self moves
Compile same-register moves as writes to cancel load delays, preserving constant operands before clearing the destination.
2026-10-10 21:47:41 +10:00
Stenzek ed990b9275 CPU/Recompiler: Respect load delays when swapping NOP slots
Check pending loads before accepting a NOP delay slot so branches read the original register value.
2026-10-10 21:47:41 +10:00
Stenzek 9bedaa6163 FileSystem: Add more ReadFileToString() overloads 2026-10-10 21:47:41 +10:00
Stenzek 6d96829465 FileSystem: More RVO optimizations 2026-10-10 21:47:41 +10:00
Stenzek a8fb9d70e4 FileSystem: Use shared file open for ReadBinaryFile/ReadFileToString 2026-10-10 21:47:41 +10:00
Stenzek aaffbd66d9 FileSystem: Extract find result sorting to function 2026-10-10 21:47:40 +10:00
Stenzek 066d89715c FileSystem: Add error parameter to FTell64() 2026-10-10 21:47:40 +10:00
Stenzek 60aec342eb FileSystem: Make OpenSharedCFile() wrap OpenCFile() on non-Windows 2026-10-10 21:47:40 +10:00
Stenzek 659ff37089 FileSystem: Backport additional helper functions 2026-10-10 21:47:40 +10:00
Stenzek ba3590f902 Core: Don't reset folders when resetting settings
Users having their data save locations would be unexpected.
2026-10-10 21:47:40 +10:00
Stenzek 95722d8e99 Settings: Don't copy controller type to game
These are part of the controller settings...
2026-10-10 21:47:40 +10:00
Stenzek 8bb030b8cf Settings: Add a dedicated key for overlays 2026-10-10 21:47:40 +10:00
Stenzek 4ad124e8d1 StringUtil: Fix possible integer overflow in EncodeAndAppendUTF8() 2026-10-10 21:47:40 +10:00
Stenzek 4e652d5bb9 System: Provide content details to OnSystemStarted()
Avoids the OnGameChanged() call later.
2026-10-10 21:47:40 +10:00
Stenzek 07d3a934a6 GameList: Synchronize settings between FullscreenUI and Qt
Also share translations with other hosts.
2026-10-10 21:47:40 +10:00
Stenzek e02bb9c748 GameList: Allow use of external SettingsInterface 2026-10-10 21:47:39 +10:00
Stenzek d253d0a1d9 GameList: Don't persist cache map between refreshes
It was cleared anyway.
2026-10-10 21:47:39 +10:00
Stenzek a4048c9c37 GameDatabase: Sort disc sets by save title
And allow lookup by name.
2026-10-10 21:47:39 +10:00
Stenzek dbc8b22917 Threading: Add WaitFor() to ConditionVariable 2026-10-10 21:47:39 +10:00
Stenzek 83153676d7 SettingsInterface: Guard against copying to self 2026-10-10 21:47:39 +10:00
Stenzek 93e53494ac Achievements: Separate login and credential saving steps
Allows saving to an external settings interface, not needed on desktop.
2026-10-10 21:47:39 +10:00
Stenzek 364c7bd485 Achievements: Extract bucket names out of FullscreenUI 2026-10-10 21:47:39 +10:00
Stenzek 18e2aa1615 Deps: Update to 20261010 2026-10-10 21:47:39 +10:00
Stenzek 9cb25f7e98 Qt: Fix crash when desktop file check is skipped latest 2026-10-10 21:47:38 +10:00
Stenzek 21b05557c7 Qt: Fix desktop environment conditions 2026-10-10 21:47:19 +10:00
Stenzek cbcbbe1eba GameDB: Disable auto-analog on Khamrai 2026-10-10 15:37:08 +10:00
Davide Pesavento 6c1645fe56 Qt: Fix default value of HideCursorInFullscreen (#3809)
And use the correct recommended value for RenderToSeparateWindow
2026-10-10 12:33:49 +10:00
Stenzek df8059758b Achievements: Don't try to fetch badges without cache
Why are you trying to run two instances out of the same directory anyhow?
2026-10-07 22:15:51 +10:00
Stenzek e0668baab4 Achievements: Don't lock in prefetch callback
Always executes on the core thread, and avoids a deadlock if the cache
is not open (e.g. you are running two instances).
2026-10-07 21:53:36 +10:00
Stenzek 697599c47a CI: Use prefix path in cross appimage
Hopefully fix it being broken in Qt 6.12.
2026-10-06 17:54:22 +10:00
Stenzek baf6c425d0 System: Fix incorrect title being copied into save state header
How on earth did I derp this up...
2026-10-06 17:39:04 +10:00
Stenzek 898b6a3caa GameDB: Fix a bunch of incorrect release dates 2026-10-06 17:39:04 +10:00
PeterDelta a304c0430a Update duckstation-qt_es.ts (#3808) 2026-10-06 16:52:46 +10:00
Stenzek 4122fed9ad INISettingsInterface: ClearSection() should not create an empty section 2026-10-02 20:33:49 +10:00
Stenzek 9d00d6b6e3 GPU/HW: Use correct format for ROV buffers 2026-10-02 20:33:48 +10:00
Stenzek fd88101c80 VulkanDevice: Fix spec violation in ROV clear 2026-10-02 19:47:46 +10:00
Stenzek 14c2267628 Qt: Use AppRoot for translations
Hopefully fix it breaking when running under an AppImage on Linux, with
AppRun having a different AT_EXECFN value.
2026-10-01 21:42:33 +10:00
Stenzek acad15618e Deps: Update to 20261001 2026-10-01 21:09:12 +10:00
Stenzek 8fa9ef5394 FullscreenUI: Fix focus reset on escape in game list search 2026-10-01 15:35:33 +10:00
Stenzek 3f037f2682 CDImageCHD: Read out the correct sector size depending on mode
Probably doesn't affect anything in normal PSX dumps, but possibly
homebrew.
2026-10-01 15:09:00 +10:00
Stenzek e68431fda8 CDImagePPF: Handle non-mode2 sectors
Don't think anything will actually rely on this, but just in case...
2026-10-01 15:08:57 +10:00
Stenzek 4d3dadd07e CDImageMemory: Read each sector in its native format
Hopefully fixes the crash with mode-1 sectors when precaching is
enabled.
2026-10-01 15:08:57 +10:00
Stenzek 39a1e37be9 Qt: Update English translation catalog 2026-10-01 14:35:47 +10:00
Stenzek 003ff5a8d7 Qt: Update machine translations 2026-10-01 14:35:09 +10:00
Stenzek 8d42a0c022 FullscreenUI: Fix compiler warning 2026-09-30 21:25:05 +10:00
Stenzek 2d8e5b68a5 MDEC: Don't clear output FIFO on new command
Fixes corrupted MDEC-decoded-images in Bealphareth.
2026-09-30 21:25:03 +10:00