Commit Graph

276 Commits

Author SHA1 Message Date
Henrik Rydgård a47a388517 Unbreak loading homebrew. Followup to #21894, oops 2026-07-08 19:32:37 +02:00
Henrik Rydgård d9eb513600 TabHolder sanity check. Code cleanup. 2026-05-13 17:18:42 +02:00
Henrik Rydgård 3325cbe6b2 Remove the legacy icon images for zip/rar/7z. Include this in the regular gamelist so search works for them. 2026-05-03 18:43:48 +02:00
Herman Semenoff 8f4fb77f79 gameinfocache: fbmanager: use const ref and modernize to for range C++17
From #21606
2026-04-28 10:54:55 +02:00
Henrik Rydgård 0e55129fab Prepare for dumping NPDRM isos, use shared_ptr to manage lifetime of BlockDevice 2026-03-19 13:59:04 +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 dac8ccff1d Gamescreen: Reload savedataSize on open 2026-02-23 11:48:34 +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 a92ff89d5f Clean up the OSD click callback code 2026-02-09 13:08:44 +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 19a6232b48 Improve handling of the UMD VIDEO error case (no, we still don't support them) 2026-01-28 14:32:38 +01:00
Henrik Rydgård 24f2deeb2e Improve file identification.
Fixes #21154
2026-01-28 10:21:09 +01:00
Henrik Rydgård 1d16d6be6a Workaround for a shutdown destruction order problem.
Part of #21055
2026-01-02 14:36:16 +01:00
Henrik Rydgård 567aac0359 Avoid holding a lock while calculating the size of savedata or homebrew.
Should fix some ANRs.
2026-01-01 14:05:52 +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 4edb8e53cd Just some renaming and cleanup 2025-11-04 23:39:56 +01:00
Henrik Rydgård b1d14d8221 More upload UI polish 2025-10-27 12:20:24 +01:00
Henrik Rydgård 8aa1987d77 Disallow configs and cheats for GE dumps, don't try to get icons for dumps loaded from HTTP 2025-10-16 15:15:03 +02:00
Henrik Rydgård 44902bffdd Make logging work in these callbacks, and clarify the future solution 2025-09-05 10:31:27 +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 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 77f9a27c35 Add a way for errors to bubble up out of BlockDevice creation 2025-06-07 12:30:20 +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 71533ac2b7 Trash handling is too high level for FileUtil, move it up. 2025-04-15 17:42:24 +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 f3c1fa7c05 Quick sanity check for EBOOT deletion. Fixes #20187, although arguably we should be even stricter. 2025-03-31 12:30:47 +02:00
Henrik Rydgård a50b303a38 Redesign the recent files API a bit. 2025-03-26 17:59:30 +01:00
Henrik Rydgård ee90971762 Fix layout issue on savedata screen
Fixes #20030
2025-02-25 09:47:42 -06:00
Henrik Rydgård 4b2bce388c Minor error handling improvements, remove redundant Exists checks 2025-02-18 10:56:49 -06:00
Henrik Rydgård 8b340aa4ed Refactor out the replacement icon loading, use for EBOOTs too. 2025-02-13 11:00:07 -06:00
LunaMoo ed9b202671 Basic custom icon support (through texture replacement)
uses path textures/gameID/icon.png, or icon.png from textures.zip.

requires restart to re-load icons.
2025-02-13 10:47:58 -06:00
Henrik Rydgård 5c1eaf1933 Faster savedata deletion 2024-11-30 02:44:01 +01:00
Henrik Rydgård f60e66b186 GameInfoCache: Use directory prefix filtering to speed things up.
Probably not much improvement in practice.
2024-11-29 11:14:52 +01:00
Henrik Rydgård 59a56d66c7 Add a "reason" argument to sleep_ms().
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.

This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård 8fbe46ab9e Prevent soft-locking the emulator on invalid PBP files, or crashes in some cases. 2024-10-03 18:38:54 +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 e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +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 699a41a3fa GameInfoCache: Fix issue reloading the BG texture after wiping it from memory
Fixes #19077
2024-05-10 14:15:26 +02:00
Henrik Rydgård 68c192b892 Fix some symbol clashes apparently affecting the docker build 2024-04-13 01:06:18 +02:00
Herman Semenov 9e126b5f00 Fixed possible accidental conversion memsize type to strict 32 bit 2024-04-02 19:03:12 +03:00
Henrik Rydgård 3424d24605 Fix hang when trying to load non-existing file or folder. 2024-03-26 15:10:06 +01:00
Henrik Rydgård d284ad4496 Remove warning for bad CHDs 2024-03-16 20:52:21 +01:00
Henrik Rydgård 9322b4c6dc Warning fix, some paranoid zero init 2024-02-12 18:33:38 +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 c7ed87b352 Assorted paranoia and improved checks 2024-01-31 10:22:03 +01:00
Henrik Rydgård 9792453b27 Fix missing titles for some file types 2024-01-30 12:31:56 +01:00