Commit Graph

9940 Commits

Author SHA1 Message Date
Stenzek d2caabd04a
Qt: Fix exit on separate window close with FSUI active 2025-08-03 15:15:47 +10:00
Stenzek a2222d805b
Qt: Fix inability to exit with HC mode active 2025-08-03 15:15:47 +10:00
Stenzek 501380ec7c
Achievements: Split up overlay setting
Split into challenge indicator modes, leaderboard trackers, and progress
indicators.
2025-08-03 15:15:47 +10:00
Stenzek e98871ad47
Settings: Remove middle padding
Why did I do this...
2025-08-03 12:27:14 +10:00
Stenzek 5c682d2325
ImGuiOverlays: Frame time history is aligned 2025-08-02 17:44:53 +10:00
Stenzek 628e41f849
ImGuiManager: Don't render when skipping present
Fixes very slow scrolling in save state selector when fast forwarding,
and generally just giving a "true" DeltaTime is probably a good thing.
2025-08-02 14:41:01 +10:00
Stenzek fe11c658ee
ImGuiOverlays: Fix save state selector out-of-order drawing
Specifically the animated background appearing in front of the
thumbnails.
2025-08-02 14:41:01 +10:00
Stenzek be48e5c681
dep/imgui: Demo window should not enabled 2025-08-02 14:41:01 +10:00
Stenzek 143ae49f2c
AudioStream: Use larger target size only when intentionally running slow
Fixes buffer underruns at fast or slow speed settings.
2025-08-02 14:41:01 +10:00
Stenzek d3f04dcda9
AudioStream: SIMD averaging window calculation 2025-08-02 14:15:43 +10:00
Stenzek 9b4698d48c
AudioStream: Back off resets that don't pass threshold over time
That way a very occasional lag/overflow doesn't cascade into
unnecessary tempo adjustment.
2025-08-02 14:15:41 +10:00
Stenzek f464d42be5
AudioStream: Fix glitches when disabling fast-forwarding
Usually happened at high frame rates.
2025-08-02 13:33:52 +10:00
Stenzek 6c9d339855
PerformanceCounters: Align to 4 elements
And use minv()/maxv().
2025-08-02 13:33:52 +10:00
Stenzek b81dfa205c
GPU: Simplify screenshot size calculation
And don't miscalculate it for some games.
2025-08-01 19:50:27 +10:00
Stenzek 4644db00ea
GPU: Fix screenshot size in uncorrected mode 2025-07-31 23:30:07 +10:00
Stenzek a27fedae86
Qt: Various fixes to memory scanner UI
Reduce repetition in formatting.
Make formatting consistent between saving/loading watches.
Fix description display.
2025-07-30 22:39:53 +10:00
Stenzek 02a1ccbcdc
Qt: Persist memory scanner watch list across instances
i.e. save it to a file.
2025-07-30 22:21:35 +10:00
Stenzek 52d9f73f98
Misc: Replace a bunch of static qualifiers with inline
Allows deduplication, shaves a couple percent off the debug binary size.
Release binary size difference is negligible.
2025-07-30 21:43:12 +10:00
Stenzek c8dd9995ec
GameDatabase: Remove redundant SetRymlCallbacks() 2025-07-30 21:12:38 +10:00
Stenzek fef553ff12
Qt: Display 'First Value' in memory scanner 2025-07-30 21:08:38 +10:00
Stenzek a9ce005a20
Qt: Fix maximized state not saving to config
Restores the "old" position when restoring again. Except on Wayland,
where nothing works.
2025-07-30 20:30:55 +10:00
Stenzek 3768940fbb
Qt: Fix assertion on shutdown after resize 2025-07-30 20:18:42 +10:00
Stenzek 690f843e2a
Qt: Auto switch between any/changed values in memory scanner 2025-07-29 23:10:25 +10:00
Stenzek 5ed7961390
Qt: Refuse to start in known broken environments 2025-07-29 23:10:25 +10:00
Stenzek 30df16cc76
Scripts: Remove PKGBUILD
I originally provided this an alternative to the broken AUR packages.

However, it seems that Arch users would rather use broken packages and
keep complaining to me instead of their packager. I specifically forbid
packages for DuckStation (see README.md), and there's no way to request
removal of these packages without handing my details over to a
distribution I want nothing to do with.

So this is step one. Next step will be removing Linux support entirely,
because I'm sick of the headaches and hacks for an operating system that
only compromises 2% of the userbase, and I don't even use myself. But I'm
hoping the Linux community will be reasonable, because as someone giving
up my free time and not being compensated in any way, I shouldn't have
to deal with this.

Just grep the source for "wayland" and you'll see what I mean.
2025-07-29 23:10:22 +10:00
Stenzek ce53e29997
Qt: Fix possible crash on shutdown 2025-07-29 20:56:58 +10:00
Stenzek e5593c973f
CI/Flatpak: Hopefully fix build cache
If this doesn't work, just going to remove it completely. So far past
the point of caring.
2025-07-29 17:37:09 +10:00
Stenzek acf78970c6
Qt: Create main window before starting EmuThread
Stops signals such as achievements active changed being lost.
2025-07-29 17:23:18 +10:00
Stenzek f569448ea1
System: Centralize pause checks 2025-07-29 17:23:18 +10:00
Davide Pesavento fbca692629
GameDB: Set max speedup cycles to 70000 for Resident Evil 2 (#3496)
Freezes after (some) door transitions otherwise.
2025-07-29 17:23:05 +10:00
Davide Pesavento e821b13ba2
GameDB: Tweak compat settings for Parasite Eve 2 (#3492)
We no longer need to disable read speedup all the time thanks to the
new DisableCDROMSpeedupOnMDEC trait. Unfortunately we still have to
increase the max speedup cycles to avoid other issues ranging from
the game simply freezing to audio glitches during area transitions.
2025-07-29 17:22:52 +10:00
Stenzek 188be7de05
Deps: Revert Harfbuzz to 11.2.1
Match Qt bundled version. Might help with crashes I can't reproduce in
text shaping.
2025-07-29 13:50:42 +10:00
Stenzek 042930d735
FullscreenUI: Fix focus loss with grid/list button 2025-07-28 20:42:50 +10:00
zkdpower fac47b135a
Update the Simple-Chinese translation to latest. (#3495) 2025-07-28 20:42:12 +10:00
Davide Pesavento 168b80dd49 Qt: Add tooltips to game list 2025-07-27 21:31:30 +10:00
Davide Pesavento df65879d06 GPU: Fix typo 2025-07-27 21:31:30 +10:00
Stenzek 300d158320
FullscreenUI: Fix clock position in pause menu 2025-07-27 13:45:46 +10:00
Stenzek 5bfe5cf121
dep/imgui: Remap non-breaking space to space
MacOS likes to use them for formatting.
2025-07-27 13:45:08 +10:00
Stenzek 351f67a227
CMake: Use -g1 for Release builds 2025-07-27 13:03:55 +10:00
Davide Pesavento 70d6a2d1af Achievements: Revert back to long date format for unlock/submit time 2025-07-27 13:03:38 +10:00
Davide Pesavento 71591e8219 Qt: Use localized date/time formatting in a few more places 2025-07-27 13:03:38 +10:00
Stenzek 0de3ffab0c
Data: Update SDL game controller database 2025-07-27 02:17:18 +10:00
Stenzek 36718c6e99
CMake: Force debug symbols on Linux
Fixes crash backtraces.
2025-07-27 02:15:49 +10:00
Stenzek 634fac4410
CrashHandler: Fix recursive backtrace on Linux 2025-07-27 02:01:58 +10:00
Stenzek 2b18df0910
MediaCapture: Don't crash if video codec supports 0 formats 2025-07-27 01:36:13 +10:00
Stenzek 44237146ef
FullscreenUI: Fix remaining fixed date/time formatting locations 2025-07-27 01:25:08 +10:00
Stenzek 29e92705c4
FullscreenUI: Add option to hide grid view labels
Also handle titles that span multiple lines.
2025-07-26 23:24:02 +10:00
Stenzek 96c224497b
Qt: Use selected language locale for formatting
But check the prefix against the system locale, so that e.g. en can use
the system country.
2025-07-26 22:33:10 +10:00
Stenzek c82351a14a
Qt: Implement 'System Language' language option 2025-07-26 22:33:10 +10:00
Stenzek 7f5f90338f
Qt: Use application locale in most places 2025-07-26 22:33:10 +10:00