Commit Graph
306 Commits
Author SHA1 Message Date
Henrik RydgårdandGitHub 3f3b353350 Merge pull request #21092 from white-axe/libretro-vfs
Use the libretro VFS interface in libretro builds
2026-01-10 16:36:01 +01:00
刘皓 a950879dd5 Don't use lseek64() in FileUtil.cpp 2026-01-09 11:46:12 -05:00
Henrik Rydgård 884d3c46d5 Rework listing of savestates - a single scan operation instead of lots of File::Exists and ModTime calls.
Needed to improve scalability on Android for when we increase the number
of states.
2026-01-09 11:17:21 +01:00
Henrik Rydgård e6e82c9ad3 Add java-side prefix filtering for ContentUri directory listing 2026-01-09 10:12:15 +01:00
刘皓 e72f288a7b Flush FILE buffers before using lseek64() 2026-01-09 00:54:51 -05:00
Henrik Rydgård e33ff46ffd Extract the rewind code from SaveState.cpp, to make it more managable. 2026-01-08 22:22:46 +01:00
刘皓 0b3cf1de8d Check that source is non-null before attempting to use it in the ZipContainer constructor 2026-01-08 11:59:12 -05:00
刘皓 37047106f3 Fix the Fseek() and Fseektell() implementation when using the libretro VFS 2026-01-08 11:55:13 -05:00
刘皓 17acfe31a3 Fix several problems with ZipContainer in Common/File/VFS/ZipFileReader.cpp 2026-01-02 14:25:13 -05:00
刘皓 d56e685f83 Mark LibretroMkdirCallback in Common/File/FileUtil.cpp as static 2026-01-02 12:52:38 -05:00
刘皓 76bcbda42a Fix some small mistakes in Common/File/FileUtil.cpp 2026-01-02 12:06:40 -05:00
刘皓 5716cbd41d Use the libretro VFS interface in libretro builds 2026-01-01 00:24:01 -05:00
Henrik RydgårdandGitHub 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 cfe807baed Android refactor: Move all contentUri utilities to the new class ContentUri 2025-11-06 23:44:55 +01:00
Henrik Rydgård c686d48268 Add prototype Upload screen and a couple new icons. Some refactoring. 2025-10-27 12:20:20 +01:00
Henrik Rydgård 52c4c31508 Runtime atlas generation 2025-09-17 09:49:54 -06:00
Henrik Rydgård 073ef61643 Merge the two functions, fix JNI lifetime issues
Fixes the last part of #10885 finally.
2025-09-05 10:31:51 +02:00
Henrik Rydgård 2a7dad43c6 WIP: Turn the methods into static methods. 2025-09-05 10:31:27 +02:00
Henrik Rydgård 7df5941531 Correctly convert one AndroidStorage method into static 2025-09-05 10:31:27 +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 6f76c579fc Delete dead code, more std::string_view 2025-09-01 00:15:23 +02:00
Henrik Rydgård 4da2c4e629 Better logging in OpenCFile 2025-09-01 00:15:04 +02:00
Henrik Rydgård 4aec1d1798 Some contentUri function cleanup 2025-09-01 00:15:04 +02:00
Henrik Rydgård c9acf8e80e More std::string_view 2025-08-31 20:20:59 +02:00
Henrik Rydgård b472eb8b8b Remove a lot of unnecessary string constructors 2025-08-31 15:49:29 +02:00
Henrik Rydgård 05b82d6ce4 Allow passing in a custom resolver to HTTPRequest and Connection. This inverts the bad dependency. 2025-08-06 00:16:34 +02:00
Henrik Rydgård 61a3d40303 Fix memory leak when looking for icons in texture replacement zip files 2025-06-14 09:49:07 +02:00
Henrik Rydgård 252d342cc5 Fix another texture replacement crash (only happens with broken png texture files).
Fix a warning too.
2025-06-10 15:03:15 +02:00
Henrik Rydgård deb2fa4a63 Texture replacement: Fix issue where we could accidentally close a file twice.
Add a sanity check.
2025-06-06 10:31:01 +02:00
oltolm 52c57ad9fa FileUtil.cpp: fix CreateFullPath for relative paths 2025-05-31 18:26:09 +02:00
Henrik Rydgård 5eb87f0fb4 Logging fixes and cleanups around folder move 2025-05-29 13:13:07 +02:00
Henrik Rydgård 6b987fa4ac MemstickScreen: Cleanly cancel instead of blocking the back button if space calculation is underway 2025-05-28 15:27:00 +02:00
Henrik Rydgård 22b1ecf65b Memstick: Show a warning if you pick a folder inside the previous one (common mistake) 2025-05-26 13:23:10 +02:00
Henrik Rydgård c3ed94b721 More icon work 2025-05-25 11:22:05 +02:00
Henrik Rydgård 95550ed624 Don't create a FileLoader just to check if launched files are zip files. Snappier launches. 2025-05-15 09:48:23 +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 41b77bf1ae More log cleanup 2025-04-14 22:27:51 +02:00
Henrik Rydgård 69b2f7d9b6 Win32: Add a function to move files to trash instead of deleting them 2025-04-10 08:42:13 +02:00
Henrik Rydgård 91bf4d5b5c Correct some log categories, add UI category, some warning fixes 2025-04-09 13:45:21 +02:00
Henrik Rydgård 6de3d47f6e Minor logging fixes 2025-04-09 11:58:31 +02:00
Henrik Rydgård c1828f69b9 Add an option to compress .ppsym files when saving or not (was always on before). 2025-03-29 18:17:41 +01:00
Henrik Rydgård af39794114 Buildfix 2025-03-26 21:36:00 +01:00
Henrik Rydgård 6ea0dd8208 Switch the recent files manager to the "command processor on thread" pattern
This removes all instances (except join-thread-on-quit) where the main
thread was previously waiting for the cleaning of the recents list and
similar.
2025-03-26 21:31:03 +01:00
Henrik Rydgård a156697822 Break out the "Recent ISOs" code into its own file so it's more practical to work on it 2025-03-26 17:31:47 +01:00
Henrik Rydgård 3564333582 Turn off I/O logging, oops 2025-03-08 23:37:48 +01:00
Henrik Rydgård 2cc631338b Correctly unload GE framedumps. Additionally, look up the title when possible and show in titlebar. 2025-03-06 14:58:33 +01:00
Henrik Rydgård 4b2bce388c Minor error handling improvements, remove redundant Exists checks 2025-02-18 10:56:49 -06:00
Henrik Rydgård b7cec64fb2 ZipFileReader: Small performance optimization when reading by filename 2025-02-13 11:42:46 -06:00
LunaMooandHenrik Rydgård 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 c4a432e467 Add convenient function to get file modified time in unix time 2025-01-23 10:16:50 +01:00