Henrik Rydgård and Claude Opus 5
4ae682283c
Path: make WithReplacedExtension(old, new) report a mismatch instead of hiding it
...
It used to return the path unchanged when the path didn't end in oldExtension,
so a caller that guessed wrong silently went on using the original file - and
"the screenshot next to this savestate" quietly becomes "this savestate".
Every caller had to know to check the extension first, and most didn't.
Now it's [[nodiscard]] bool with an out-param, in the style of ComputePathTo
next door, so the mismatch has to be handled. Changing the signature rather
than the behaviour means no call site can keep the old assumption by accident.
All four callers wanted "skip it" or "fall back", which they now say out loud.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-12 11:54:11 -06:00
刘皓
5716cbd41d
Use the libretro VFS interface in libretro builds
2026-01-01 00:24:01 -05: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
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
55aef2afdb
Check file systems for case sensitivity. Avoid running un-needed workarounds.
2025-01-02 18:50:55 +01:00
Henrik Rydgård
10d3b253a4
More InstallZip refactoring, add options for install directory where applicable
2024-09-10 13:55:12 +02:00
Henrik Rydgård
f73d0587d4
Comments, make locking more consistent in GameInfoCache
2024-01-19 14:56:29 +01:00
Henrik Rydgård
d0ee5fc308
Path: Use string_view more to avoid allocations
2023-11-13 23:24:42 +01:00
Henrik Rydgård
8beca03e7e
MacOSX buildfixes
2023-06-26 10:01:41 +02:00
Henrik Rydgård
f6fdaa4f56
Get it to recognize the hash by using the rcheevos hash implementation
2023-06-26 10:01:41 +02:00
Henrik Rydgård
cf9a628a2e
AndroidContentURI: Move code from the header to cpp. Some assorted cleanup, add a unit test for Download paths
2023-05-16 16:08:51 +02:00
Henrik Rydgård
f5afc91f23
Change Enable/Disable All to just a Disable All button.
2023-03-23 10:32:11 +01:00
Henrik Rydgård
dfa06c4e77
SDL buildfix, fix file/folder browsers on Darwin
2023-03-22 19:25:35 +01:00
Henrik Rydgård
f3ba8fb334
Address feedback, also sort texture shaders
2022-12-03 19:30:50 +01:00
Unknown W. Brackets
3e73ce87ee
Path: Check for PSP case insensitively.
...
This allows a game to look up ms0:/psp/ eve with the PSP special case path
handling.
2021-12-16 15:06:15 -08:00
Henrik Rydgård
de3d711616
Move FixPathCase to Common/File/Path
2021-09-11 21:17:23 +02:00
Henrik Rydgård
f51b8116a0
Basic flow of setting up and moving the PSP directory works now.
2021-08-04 23:22:43 +02:00
Henrik Rydgård
c6c5a93bf4
Couple of minor things, crashfix on deserialization failure
2021-07-25 15:42:12 +02:00
Henrik Rydgård
fff3850096
Add ability to rename content URI files, fixing saving save states.
...
buildfix
2021-07-19 17:34:50 +02:00
Henrik Rydgård
3737daaf0c
Address more feedback, warning fix
2021-06-07 00:26:26 +02:00
Henrik Rydgård
37d651a89d
Address a bunch of the feedback
2021-06-07 00:26:26 +02:00
Henrik Rydgård
dba0a6ba12
Rewrite CreateFullPath to be agnostic of path format.
2021-06-07 00:24:52 +02:00
Henrik Rydgård
468f3d8b3f
wip
...
More work towards moving PSP directory
2021-06-07 00:24:52 +02:00
Henrik Rydgård
1f018d33c5
Start work on supporting Android Content URIs in the FileUtil API.
...
Add tentative Android Content URI support to much of FileUtil.h.
Buildfix
Fix some issues with the file browser in storage URIs.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
8727679353
Clean up PathBrowser a bit
...
Fix UWP build
Fix booting homebrew.
Qt buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård
2e16e83159
It never ends...
2021-05-13 10:39:16 +02:00
Henrik Rydgård
ae06499a0c
Change Copy, Rename to use Path. Remove std::string version of Exists().
...
Buildfixes
Buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård
0d80362c30
Change parameter of DeleteDir and friends to Path
2021-05-13 10:39:16 +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