Commit Graph

107 Commits

Author SHA1 Message Date
Henrik Rydgård e50199ad0a Fix the gemini-written video player to actually work 2026-02-26 09:33:26 +01:00
Henrik Rydgård dac8ccff1d Gamescreen: Reload savedataSize on open 2026-02-23 11:48:34 +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 b8fced5b41 Path code cleanup, move some UI code (#21037)
* Move a bunch of path logic into Core/Util/PathUtil.cpp/h

.

* Move GameImageView out from SaveDataScreen

* More cleanup, add a translation string
2025-11-25 00:44:24 +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 1432d4352c Merge pull request #20798 from hrydgard/android-shortcut-icons
Android shortcuts: Fix so that setting icons work even if PPSSPP isn't running
2025-09-12 11:29:50 -06:00
Nab 7edc3f0223 Add UNKNOWN region in place of OTHER 2025-09-06 17:18:57 +00:00
Henrik Rydgård 44902bffdd Make logging work in these callbacks, and clarify the future solution 2025-09-05 10:31:27 +02:00
Nab f81018d8b4 Merge branch 'master' into gameregion-addition 2025-09-03 14:58:44 +02:00
Nab 5bfd4b390c GameRegion improvements 2025-09-03 14:17:55 +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
Henrik Rydgård eb5c98cd07 Don't use PIC0 as background if PIC1 is missing (actually this time). Remove dark background. 2025-08-02 23:20:13 +02:00
Henrik Rydgård 3c6acf37dd Split loading of PIC0/PIC1 (don't need PIC0 most of the time) 2025-08-02 23:20:13 +02:00
Henrik Rydgård 4c631e77f5 RetroAchievements: Show region when showing the info popu. Refactor region detection a little. 2025-06-01 11:34:59 +02:00
Henrik Rydgård 7712cf5331 When deleting important files like savedata or games, move to trash.
This currently only works on Windows, where it changes the Delete button
to "Move to trash".
2025-04-10 09:02:44 +02:00
Henrik Rydgård bc3d4fe477 Fix a rare UI race condition (if 'region' changed on a background thread) 2025-04-02 17:27:46 +02:00
Henrik Rydgård e0c12c9547 More lint warning fixes 2024-10-10 10:52:45 +02:00
Henrik Rydgård 8186f14a57 Much more UI work on savedata import
fix
2024-09-07 15:28:57 +02:00
Henrik Rydgård ecdc7940f4 Android: Fix issue where shortcuts wouldn't override the currently running game. 2024-05-14 00:02:59 +02:00
Henrik Rydgård d284ad4496 Remove warning for bad CHDs 2024-03-16 20:52:21 +01:00
Henrik Rydgård 61bd01144e UI fixes 2024-01-31 23:17:51 +01:00
Henrik Rydgård 3831ec1921 Warn the user about bad CHDs
If they're not created with "chdman createdvd", they will perform really
badly.
2024-01-31 22:15:47 +01:00
Henrik Rydgård 76242cb9f7 More gameinfocache fixes 2024-01-30 12:27:58 +01:00
Henrik Rydgård a93b55c215 Handle icon loading failures better (avoid retrying every frame). 2024-01-29 10:44:46 +01:00
Henrik Rydgård 884c366692 Fix some longstanding issues with the GameInfoCache and optimize away double work 2024-01-28 16:23:27 +01:00
Henrik Rydgård 9b3c14a931 GameInfoCache: Break out a couple functions 2024-01-28 14:50:16 +01:00
Henrik Rydgård 2aca8fe3f9 Get rid of more unnecessary uses of ManagedTexture 2023-12-12 23:13:45 +01:00
Henrik Rydgård 75e96df448 Don't use ManagedTexture in GameInfoCache, not needed. 2023-12-12 22:34:31 +01:00
Henrik Rydgård 87ddb3f3b1 Add easy way to verify games against the Redump database, supplied as CSV. 2023-10-23 19:11:01 -05:00
Henrik Rydgård 6a51b6f7bf Quick attempt to add some thread safety to GameInfo::fileLoader. 2023-05-04 09:20:05 +02:00
Henrik Rydgård ec6d330ae4 Move AsyncImageFileView to Common, which required some more shuffling around of stuff. 2022-11-21 20:38:20 +01:00
Henrik Rydgård 6de574104c Avoid creating a fileloader during shutdown.
Some silliness I found while investigating using SuperLuminal.
2022-04-12 00:16:13 +02:00
Henrik Rydgård 446c2c027e Get rid of the PrioritizedWorkQueue. Instead just queue tasks on the ThreadManager. 2021-06-12 13:03:53 +02:00
Henrik Rydgård 025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård e2e1c677cb GameInfoCache: Don't expose the workqueue.
Was unused anyway.
2021-04-30 23:04:24 -07:00
Unknown W. Brackets 0081924fc4 UI: Oops, prioritize PIC1, not PIC0.
Thought I'd pasted these in the right order... fixes #14350.
2021-04-04 21:39:16 -07:00
Unknown W. Brackets f98bafb73d UI: Centralize BG pic choosing a bit.
It's in several places.
2021-04-04 10:57:40 -07:00
Henrik Rydgård 4f43cff5ca Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
iota97 592d6f902e Show region on game selection screen 2020-02-23 12:00:26 +01:00
Henrik Rydgård 9c4649d3ac Assorted cleanup 2019-09-27 23:25:30 +02:00
Henrik Rydgård 0cd3ac06d0 Avoid trying to create a FileLoader for empty filenames
Assorted cleanup
2019-02-25 21:35:51 +01:00
Unknown W. Brackets d00dcb4400 UI: Use atomic flags in game info cache.
Simpler, no need to lock the entire info when checking these.
2017-12-29 08:55:49 -08:00
Unknown W. Brackets 472ee12391 UI: Add threadsafety to cache item file loaders. 2017-12-09 17:26:26 -08:00
Unknown W. Brackets 2943bbdbfd UI: Cancel loaders on shutdown.
Improves backend switching / locking / etc. performance when the recent
list has games that aren't currently available.

Also, remove unnecessary duplicate gameinfo flush on EGL loop shutdown.
Already happens in NativeShutdownGraphics().
2017-12-09 16:48:38 -08:00
LunaMoo 939b26475d Fix a bunch of emu features for Homebrew by better identification. 2017-05-30 12:20:29 +02:00
Henrik Rydgård df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Henrik Rydgård 60378a0dcb Minor GameInfo memory handling improvements. Still not great. 2017-05-18 12:41:42 +02:00
Unknown W. Brackets 55908588eb UI: Allow choosing game bgs for all UI. 2017-04-02 10:48:38 -07:00
Henrik Rydgard 576c1b740a Buildfix non-Windows 2017-03-26 13:07:36 +02:00