Commit Graph

8180 Commits

Author SHA1 Message Date
Davide Pesavento 0a53bc47c3 Qt: Remove redundant layout from AchievementSettingsWidget 2025-08-12 21:48:24 +10:00
Davide Pesavento 0fc9de781f Qt: Fix crash toggling achievements in per-game settings 2025-08-12 21:48:24 +10:00
Stenzek 47e8d90e25
GPU: Fix screenshot size when showing VRAM 2025-08-12 00:33:59 +10:00
Stenzek cdd0086c54
Qt: Fix toggling read/write breakpoints 2025-08-11 12:10:14 +10:00
Davide Pesavento de2d6d1aa0
Qt: More accurate game list column width estimation (#3505)
Three main changes:
1. Use the pixel metrics of the style instead of hardcoded values.
2. Account for the potential sort indicator in the column header.
3. In the two "Size" columns, the largest numerical value does not
   necessarily result in the widest text string, so just use the
   value 8888.88 to estimate the width (we assume that 8 is the
   widest digit, which is true for many proportional fonts).
2025-08-11 12:09:52 +10:00
Stenzek 2a2a011854
FullscreenUI: Improve title padding of achievements
Need to redo this whole dialog's layout, but this'll do for now.
2025-08-09 21:19:43 +10:00
Stenzek 9b99d997f5
Achievements: Fix display of game completion date 2025-08-09 17:03:50 +10:00
KamFretoZ 20e9b8d271
Qt: Fix buffer size help text (#3501) 2025-08-09 12:47:16 +10:00
Stenzek 09e785555d
Qt: Fix updater download size display 2025-08-08 23:54:39 +10:00
Stenzek 5fc4fbcf36
Qt: Improve display of version in updater 2025-08-08 23:37:25 +10:00
Stenzek aa2a0cddb5
Data: Update SDL game controller database 2025-08-08 23:32:33 +10:00
Stenzek e38039873e
Achievements: Infer and display beaten/completed time 2025-08-08 23:32:33 +10:00
KamFretoZ ebbc1e98b6
Qt/Updater: Move Download Size indicator to the top (#3499) 2025-08-08 23:15:08 +10:00
Stenzek edd63dfd9c
Qt: Remove now-unused resize column helpers 2025-08-07 21:26:40 +10:00
Stenzek 670027107e
Qt: Use header resize mode for disc windows 2025-08-07 21:26:40 +10:00
Stenzek 93d6fc64da
Qt: Use header resize mode for memory card editor 2025-08-07 21:26:40 +10:00
Stenzek c6c8039211
Qt: Use header resize mode for settings panels 2025-08-07 21:26:40 +10:00
Stenzek bb7833168e
Qt: Use header resize mode for memory scanner 2025-08-07 21:03:06 +10:00
Stenzek 73f326cd75
Qt: Use header resize mode for game list column widths
Simpler code, no need for workarounds in showEvent() either.
2025-08-07 21:00:22 +10:00
Stenzek 76fdbb0b38
Qt: Add tooltips for more fields in game list 2025-08-07 20:49:46 +10:00
Stenzek a080228ee5
Qt: Don't reset model for every scanned game
Make the UI a little more responsive.
2025-08-07 20:49:46 +10:00
Davide Pesavento 2669b026d7 Qt: Remove obsolete comment
The logic was changed in 281119b812
2025-08-07 20:49:36 +10:00
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 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 ce53e29997
Qt: Fix possible crash on shutdown 2025-07-29 20:56:58 +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
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
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 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
Stenzek ef320c62a3
Qt: Cache app locale object 2025-07-26 22:33:10 +10:00
Stenzek f91ee34fa4
Qt: Merge qttranslations.cpp with qthost.cpp
No need to keep it separate anymore since we're not precalculating glyph
ranges.
2025-07-26 22:33:10 +10:00
Stenzek 9b353f841e
Misc: Use host locale formatting for dates
Fixes achievement unlocks and lasted played times being shown in US
format.
2025-07-26 22:33:09 +10:00
Stenzek 1c8699b8a0
Host: Add FormatNumber()
Formats the argument according to the system locale, instead of C.
2025-07-26 22:33:09 +10:00
Stenzek e82218f823
Qt: Fix changing language while game running 2025-07-26 22:33:09 +10:00
Stenzek 83d521f3d8
CMake: Drop Flatpak workarounds
No longer needed since it is using self-contained.
2025-07-26 17:36:50 +10:00
Stenzek 6c4300c6c7
CI/Flatpak: Simplify deps build
I'll probably drop it in the future since there was only one or two
people who indicated that they're using it. But at least now I don't
have another file I need to keep up to date.

So consider the Flatpak package as deprecated.
2025-07-26 17:36:50 +10:00
Stenzek ad4a909aa4
FullscreenUI: Fix incorrect parent directory button 2025-07-26 14:03:43 +10:00
Stenzek 37efd34a99
Qt: Drop renderer option from setup wizard
No need when automatic renderer exists.
2025-07-26 14:03:43 +10:00
Víctor "IlDucci d28c0a00b4
Spanish (Spain) update 2025-07-25 (#3490)
- New strings have been translated.
- Corrected a typo in the "seconds" counter.
- Other minor changes.
2025-07-26 14:03:07 +10:00
Stenzek d0e00178c3
Qt: Fix fullscreen action enabled on startup 2025-07-24 22:05:24 +10:00
Stenzek a660c13625
System: Always adjust video size for capture
Fixes auto resolution size with non-multiple-of-4 window sizes.
2025-07-24 21:47:09 +10:00
Stenzek 22fb032f91
GPUThread: Fix very rare or impossible FIFO corruption
If the buffer wraps around once, and the GPU thread does not execute any
commands before the CPU thread reaches the end again, it could lose one
buffer's worth of commands.

Also don't keep incrementing the work count while this is happening.
Super unlikely unless a ton of data is being pushed through the FIFO.
2025-07-24 21:08:53 +10:00
Stenzek 13233cc82e
PostProcessing/GLSL: Fix compile error with interface blocks 2025-07-24 12:08:53 +10:00
Stenzek 0522b6ffb5
CDImagePPF: Ignore out-of-range sectors 2025-07-23 22:00:13 +10:00
Stenzek b6b1a5e33c
CDROM: Add option to disable speedup on MDEC/FMVs 2025-07-22 23:03:22 +10:00
Stenzek 4f1af2f6eb
Qt: Increase debugger column size 2025-07-22 22:16:25 +10:00
Stenzek 46cf8e68cd
SPU: Display reverb environment in debug window 2025-07-22 22:16:25 +10:00
Stenzek 932104c581
SPU: Fix VU meter display when scrolling 2025-07-22 22:16:25 +10:00
Nahuel Gaitan 56b5b337aa
PSFLoader: Fix recursive _lib loading (#3489) 2025-07-22 21:08:45 +10:00
Stenzek 46a071f3e7
Qt: Fix disabling of sprite texture filtering option 2025-07-22 20:30:34 +10:00
Stenzek 2e56f5d3ae
Qt: Fix another usage of QObject::disconnect() 2025-07-22 20:28:53 +10:00
Stenzek a5826ea6ae
Qt: Hide apply image patches in game settings
Doesn't makes sense, because game settings are applied after
identification.
2025-07-22 20:18:20 +10:00
Davide Pesavento a34aee68a7 Declare all namespace-scope constants as inline
This is the idiomatic way since C++17
2025-07-22 19:29:37 +10:00
Davide Pesavento 69da2df8e9 Make all single-argument constructors explicit 2025-07-22 19:29:37 +10:00
Davide Pesavento 9ab4e4d70c
Qt: Add game list button to toggle game icons (#3488) 2025-07-21 19:05:04 +10:00
Stenzek cdd054702c
CPU: Log on break exception without PCDrv 2025-07-20 21:10:00 +10:00
Stenzek a5b46f7676
MediaCapture: Fix use-after-free when starting 2025-07-20 21:09:46 +10:00
Stenzek 161637e3b7
Qt: Disconnect safe mode widget on recreate 2025-07-20 16:58:36 +10:00
Stenzek 7c01bde94e
Log: Remove redundant channel 2025-07-20 16:58:24 +10:00
Stenzek 9321a32d39
Qt: Fix startup cancellation on window close 2025-07-20 14:21:42 +10:00
Stenzek f65ca0dab3
FullscreenUI: Don't round achievements inner progress bars 2025-07-20 14:21:42 +10:00
Stenzek 9e17e38c9d
FullscreenUI: Custom draw loading screen 2025-07-20 14:21:42 +10:00
Stenzek 3199617124
FullscreenUI: Use layout scale for loading screen 2025-07-20 14:21:42 +10:00
Stenzek df9506fbf6
FullscreenUI: Center loading screen logo 2025-07-20 14:21:42 +10:00
Stenzek 311e93fae4
FullscreenUI: Use game path for loading screen image
Makes it work with custom titles.
2025-07-20 14:21:42 +10:00
Stenzek 4440ae3b78
GPUThread: Store copy of game info
Don't save it in FullscreenUI.
2025-07-20 14:21:42 +10:00
Stenzek 5fd61b6e3a
Qt: Fix disc icon being used for games without icons 2025-07-20 14:21:42 +10:00