Commit Graph
219 Commits
Author SHA1 Message Date
James0124 f38cbfd7b1 Show the (fallback) title on the game info screen even when there's no region ID
The fallback title was not shown on the game info screen when `PARAM.SFO` was missing.
Hoist the `TextView` creation from the `!regionID.empty()` branch.
2026-08-10 01:01:39 +02:00
Henrik Rydgård 7219cd2f5a Split off ScreenManager from Screen.cpp 2026-08-07 14:30:36 +02:00
Henrik Rydgård 5d10f281ef Fix integer overflow in PMF video frame buffer allocation
pmf_init reported stream dimensions without a cap, and PMFView::Draw
allocated width * height * 4 with 32-bit int arithmetic, so a crafted
ICON1.PMF could overflow the allocation to a small buffer while
sws_scale wrote the full frame.

- Reject videos with dimensions outside 1..720x480 in pmf_init (PMFs on
  the PSP never exceed 720x480).
- Use size_t arithmetic for the frame buffer allocation.
2026-08-01 11:57:27 +02:00
Henrik Rydgård 4d018cd7e5 Fix back behavior in GameScreen
Fixes #21884
2026-07-14 15:44:17 +02:00
Henrik Rydgård 6165edd445 Show the MEMSIZE parameter on the game screen if present in PARAM.SFO 2026-05-13 16:13:50 +02:00
Henrik Rydgård e0a5a3e2bf iOS: Add basic deep link support.
Fixes #21577
2026-04-28 22:17:24 +02:00
Henrik Rydgård fdfcda8859 Fix issue where the background remained when removing a game from recent
Fixes #21438
2026-03-15 12:08:53 +01:00
Henrik Rydgård 4f8cdbe165 Minor code cleanup (inline event handlers) 2026-03-15 11:43:18 +01:00
Henrik Rydgård 9097dd935a Somewhat improve the UI of the adhoc server list 2026-02-26 17:17:42 +01:00
Henrik Rydgård e50199ad0a Fix the gemini-written video player to actually work 2026-02-26 09:33:26 +01:00
Henrik Rydgård f13d339ed3 Set the CRC banner on the game screen to fit contents, instead of the screen.
Also make sure it's not visible when it shouldn't be
2026-02-25 00:52:25 +01:00
Henrik Rydgård dac8ccff1d Gamescreen: Reload savedataSize on open 2026-02-23 11:48:34 +01:00
Henrik Rydgård 40a5cd1509 Minor logging improvement, refresh gamescreen on deleted savedata 2026-02-19 16:05:00 +01:00
Henrik Rydgård e65013201f Fix color of setting hints. Minor tweak to clipboard notifications
See #21223
2026-02-17 11:32:10 +01:00
Henrik Rydgård 1cc2b7233a Fix some minor visual UI issues
See #21223
2026-02-15 19:57:56 +01:00
Nab 0b51d74bb2 Add icon to Create new shortcut option 2026-02-14 17:40:05 +00:00
Henrik Rydgård 1846163985 Replace Path::ToVisualString with GetFriendlyPath which shortens. Much better on iOS 2026-02-13 21:16:00 +01:00
Henrik Rydgård ca127b0e5b More fixes, more gamescreen button fixes 2026-02-12 01:35:57 +01:00
Henrik Rydgård 2bc43810a8 Improve display of homebrew without an icon in the game browser 2026-02-10 11:26:01 +01:00
Henrik Rydgård 936c344a52 misc 2026-02-09 16:41:51 +01:00
Henrik Rydgård cdd9d34af9 Improve handling of UMD Video (still unsupported but show background and icon, fix info screen) 2026-02-03 13:46:59 +01:00
Henrik Rydgård 998d385119 Bubble up CSO corruption errors so the user can see them 2026-02-03 11:57:05 +01:00
Henrik Rydgård cbcec3e27f Bugfix GetFriendlyPath, use in more places 2026-01-29 23:15:32 +01:00
Henrik Rydgård 1c80e93070 Improve the appearance of unsupported ISO files 2026-01-28 11:00:04 +01:00
Henrik Rydgård 24f2deeb2e Improve file identification.
Fixes #21154
2026-01-28 10:21:09 +01:00
Henrik Rydgård 34938e3de6 Move Notice to Common/UI 2026-01-25 15:10:26 +01:00
Henrik Rydgård 46e82f3c63 Game screen: Add a button to reset the played time counter 2026-01-23 18:54:22 +01:00
Henrik Rydgård f8ab0fab1d Clean up the "Use background as UI background" code 2025-11-25 15:47:03 +01:00
Henrik Rydgård 3116eba395 More UI work (#21035)
* Improve a couple of on-screen buttons (menu, fastforward)

* Fix the new continue button, oops

* Add some missing translations

* Split a translation string to make portrait look better

* More GameScreen redesign

* Don't accidentally go into game-specific mode

* Fix layout issue with popupscreens, fix context menu positioning

* One more icon
2025-11-24 20:33:13 +01:00
Henrik Rydgård 6cc945e57a Rework the reporting screen a bit 2025-11-23 01:15:07 +01:00
Henrik Rydgård 77c7ba1435 Rework the pause screen in portrait mode. Right-align popup menus if too far to the right on the screen. 2025-11-22 14:31:01 +01:00
Henrik Rydgård 57507ec9e6 GameScreen: New look in portrait mode 2025-11-15 20:44:14 +01:00
Henrik Rydgård 09d195c9ef More layout work. Use GameDB titles on the top of the game screen. 2025-11-15 20:44:14 +01:00
Henrik Rydgård 1ae76e871b Partial game-info-screen rework 2025-11-15 20:44:14 +01:00
Henrik Rydgård 4f91d7a71a More layout work, more use of MessagePopupScreen instead of PromptScreen 2025-11-10 15:23:29 +01:00
Henrik Rydgård 0453fb5449 Move PopupScreen base class into PopupScreens.cpp/h 2025-11-10 10:26:38 +01:00
Henrik Rydgård 980ddb152b UI fixes, add SimpleTextView (easier to reason about) 2025-11-09 08:52:20 +01:00
Henrik Rydgård 6d1973edfb Add banners on the top of settings pages, if editing game-specific settings show the icon. 2025-11-09 08:51:41 +01:00
Henrik Rydgård 4edb8e53cd Just some renaming and cleanup 2025-11-04 23:39:56 +01:00
Henrik Rydgård 2b9f2672bb UI screens header cleanup 2025-10-29 00:15:41 +01:00
Henrik Rydgård 69aa84e3b0 Split out the backgrounds and base screen classes from MiscScreens.h 2025-10-29 00:02:43 +01:00
Henrik Rydgård 7ffd72b32e Rename some screen classes 2025-10-29 00:02:43 +01:00
Henrik Rydgård 58456ae950 Remove the UI::EventReturn return values. Makes editing the UI nicer. 2025-09-15 11:09:00 -06:00
Henrik Rydgård c17fb20ac5 Remove UI::EVENT_SKIPPED, not any real need for it 2025-09-15 10:15:08 -06:00
Henrik Rydgård f8261ae7ff Merge pull request #20801 from NABN00B/gui-buttons-and-margins
GUI margin and Back button adjustments
2025-09-09 10:02:08 +02:00
Henrik Rydgård f2a3457a43 Fix issue where the "Set UI background" button was now always hidden.
Thanks to NABN00B for noticing, in the comments of #20790.
2025-09-07 20:23:51 +02:00
Nab 5200ace606 GUI margin and Back button adjustments 2025-09-07 20:10:50 +02:00
Nab 7edc3f0223 Add UNKNOWN region in place of OTHER 2025-09-06 17:18:57 +00:00
Henrik Rydgård ac48b9125b Add a "Desktop shortcut created" notification 2025-09-03 13:59:44 +02:00
Henrik Rydgård 97cfca8f18 Cleanup the Game info screen code. Fixes issue with it not loading sometimes. 2025-09-03 11:57:13 +02:00