1
0
Fork 0
mirror of https://github.com/hrydgard/ppsspp.git synced 2025-04-02 11:01:50 -04:00
Commit graph

56 commits

Author SHA1 Message Date
Henrik Rydgård
48310d15a9 Add metafilesystem hook to add optimized implementations of compute recursive directory size 2021-09-11 18:12:29 +02:00
Henrik Rydgård
e93dc8f231 Fix append mode through OpenCFile, fixing cheat import on scoped storage. 2021-08-14 16:57:33 +02:00
Henrik Rydgård
5de47c6cf2 Scoped storage: recognize "wt" and "rt" modes. Should fix the cheat.db issue
See 
2021-08-11 09:09:35 +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
3ec13b8440 Two more functions 2021-07-25 17:32:12 +02:00
Henrik Rydgård
0997b8500c Convert four more functions to allow for error codes.
Note that they still don't actually use them...
2021-07-25 17:32:12 +02:00
Henrik Rydgård
2333239514 Change one storage function to use an error code. 2021-07-25 17:32:12 +02:00
Henrik Rydgård
ab69b896c3 Add and hook up Android_MoveFile 2021-07-25 17:32:12 +02:00
Henrik Rydgård
729496b60a Error code support preparations 2021-07-25 17:32:09 +02:00
Henrik Rydgård
76e8e89925 Add support for FILE_APPEND. 2021-07-25 15:42:12 +02:00
Henrik Rydgård
e73e0dc0be Fix multiple issues preventing in-game saves from working. 2021-07-19 17:34:51 +02:00
Henrik Rydgård
4f10ff9d31 Add quick method to check file existence by content URI.
Seems to speed up bringing up the pause screen slightly (checking for
save state files).
2021-07-19 17:34:51 +02:00
Henrik Rydgård
e1b4a9175a Add handling for Android content URIs to VFSReadFile, fixing savestate thumbnails. 2021-07-19 17:34:51 +02:00
Henrik Rydgård
b0558b2174 Assorted directory fixes 2021-07-19 17:34:50 +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
308c7d693c Address more feedback 2021-06-07 00:49:31 +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
2f31cb12fb Add support for writing to file. Basics work now (having memstick on a content path) 2021-06-07 00:24:52 +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
5df471577f Cleanup. Add a way to get very early log output on Android.
Cleanup in FileUtil
2021-06-07 00:24:52 +02:00
Henrik Rydgård
ccc78c42f5 Route DirectoryFileSystem::Open to Android storage. 2021-06-07 00:24:52 +02:00
Henrik Rydgård
825478bbf7 Remove CreateDirIn, not useful enough to keep. 2021-06-07 00:24:51 +02:00
Henrik Rydgård
5e3019073c Android content URI support in Path. 2021-06-07 00:24:51 +02:00
Henrik Rydgård
6553b96368 Remove AndroidStorageFileSystem. Not useful. 2021-06-07 00:24:51 +02:00
Henrik Rydgård
40fb114f60 Delete a couple unused constructors of IOFile 2021-06-07 00:24:51 +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
b397e5c455 Assorted plumbing.
wip

Buildfix
2021-06-07 00:24:51 +02:00
Henrik Rydgård
72915f88c8 Config: Remove the use of multiple search paths. 2021-05-30 12:39:16 +02:00
Unknown W. Brackets
ecc2f62688
Common: Zero initialize readlink buffer.
See .
2021-05-27 23:12:40 -07:00
Unknown W. Brackets
e4dc8e6000 Common: Prevent non_path IOFile usage. 2021-05-15 11:12:56 -07:00
Unknown W. Brackets
f2b2f26e8e Common: Use Path for GetExeDirectory(). 2021-05-15 11:12:54 -07:00
Unknown W. Brackets
82cd904e99 Common: Use Path for GetFileSize(). 2021-05-15 11:11:37 -07:00
Unknown W. Brackets
15038bb663 Common: Remove File funcs redundant with Path.
Shouldn't use these anymore anyway.
2021-05-15 11:11:37 -07:00
Unknown W. Brackets
a097403298 Common: Remove File::GetFilename(). 2021-05-14 23:08:31 -07:00
Henrik Rydgård
47039b4bcd Address all the easy feedback. Some is left. 2021-05-13 10:39:17 +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
Unknown W. Brackets
92ace6716a Common: Fix read of special files with fake size.
On some Linux systems, /sys/ files report a size of 4096, but actually
have less content.
2021-05-11 21:57:36 -07:00
Sean McGovern
9e106e1d3d FileUtil: check for errors after a fread() in ReadFileToString() 2021-05-11 23:56:45 -04:00
Unknown W. Brackets
b3ce171523 Common: Correct ReadFileToString() with no size.
If SEEK_END returns an error, just read bit by bit.  Also remove the
unnecessary temp buffer.
2021-05-10 18:29:06 -07:00
Henrik Rydgård
d775bf4e4c
Merge pull request from unknownbrackets/path-extension
Update path extension and PSP/GAME/ handling
2021-05-10 21:05:05 +02:00
Unknown W. Brackets
f947aa4844 Common: Remove OpenCPPFile(). 2021-05-09 20:21:37 -07:00
Unknown W. Brackets
774b0e07e0 Common: Cleanup AssetReader extension filter. 2021-05-09 17:57:07 -07:00
Unknown W. Brackets
af5618705c http: Remove timeoutless requests.
Let's always have timeouts.  This timeout is reset even when a single byte
is sent, so it's pretty generous.
2021-05-01 11:20:05 -07:00
Henrik Rydgård
a2a0551a83 Buildfix, and more renaming while we're at it. 2021-04-25 22:25:29 +02:00
Henrik Rydgård
770f7f60e4 Delete unused function, rename two more. 2021-04-25 20:57:37 +02:00
Henrik Rydgård
77b8a14770 Merge GetFileInfo/GetFileDetails into GetFileInfo 2021-04-25 20:52:29 +02:00