11 Commits

Author SHA1 Message Date
Henrik Rydgård de702ced45 Use std::string_view in VFS 2026-02-06 13:22:35 +01:00
刘皓 5716cbd41d Use the libretro VFS interface in libretro builds 2026-01-01 00:24:01 -05: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
Henrik Rydgård 5eeb15b30a Use Exists instead of GetFileInfo in more cases 2024-11-30 00:39:38 +01:00
Henrik Rydgård e277db63c0 Optimize away those extra GetFileInfo, since both backends can get the size during Open efficiently. 2023-03-08 09:11:25 +01:00
Henrik Rydgård 16b0e1103a Check file existence early. Although, not sure if this is the right
thing on Android...
2023-03-08 09:04:08 +01:00
Unknown W. Brackets 2fce2df7f6 Common: Ensure VFS references not directly deleted. 2023-03-07 21:51:47 -08:00
Henrik Rydgård 97cf5f8d81 More renaming, initial implementation of manual file access for both VFS backends 2023-03-07 19:37:19 +01:00
Henrik Rydgård 23b310f59a VFS: Add boilerplate 2023-03-07 10:19:51 +01:00
Henrik Rydgård 53172eff63 Renaming and file splitting 2023-03-06 16:42:50 +01:00