Commit graph

81 commits

Author SHA1 Message Date
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
606a895985 iOS: Update recents paths on load
Fixes the main part of #19211
2024-05-29 10:12:20 +02:00
Henrik Rydgård
9218efd286 Improve the file size check when reading text files 2024-01-25 12:34:19 +01:00
Henrik Rydgård
1f129b6dca Replace "ReadFileToString" with a few semantically clearer wrappers. 2024-01-25 09:55:54 +01:00
Henrik Rydgård
c6c0d0bf42 Android memstick folder moves: Do recursive moves if in the same device. Drastically faster. 2024-01-22 16:26:29 +01:00
Henrik Rydgård
902eed59bb Android: Make use of the (spooky) fact that Android_RemoveFile deletes recursively. 2024-01-22 11:55:38 +01:00
Henrik Rydgård
1935dd3f4c Just move DeleteDir next to DeleteDirRecursive 2024-01-22 11:54:41 +01:00
Henrik Rydgård
9253bf9cb5 Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00
Henrik Rydgård
28143697b6 Fix regression from #18581 2023-12-20 18:26:27 +01:00
Herman Semenov
2a31f8c6c0 [Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:33:56 +03:00
Henrik Rydgård
969cb8ac18 Driver choice: Add error message for wrong file type 2023-12-14 16:26:12 +01:00
Henrik Rydgård
19eeaef2ea More uses of string_view 2023-11-13 23:36:34 +01:00
Henrik Rydgård
6357b95ff5 Better version. 2023-10-12 23:33:54 +02:00
Bashar Astifan
07c119a80c Merge branch 'master' of https://github.com/hrydgard/ppsspp 2023-08-14 02:45:28 +04:00
Henrik Rydgård
9df91aed37 OpenCFile: Fix Android content-uri append mode 2023-08-02 14:00:57 +02:00
Bashar Astifan
a35c8425e6
Merge branch 'master' into master 2023-07-17 23:20:52 +04: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
Bashar Astifan
f86a462145 Revert creating ToShortFriendlyPath, more cleanup
Path preview can actually solved within ToVisualString without creating another function, I feel it will cause confusing as both function will be similar.
2023-05-04 12:03:14 +04:00
Bashar Astifan
05776ee6af Major update 2023-04-30 08:54:54 +04:00
Bashar Astifan
d0b6935592 UWP Improved Support 2023-04-28 23:22:17 +04:00
Unknown W. Brackets
9cfcbc46e6 Global: Cleanup initialization/pointer checks.
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
tunip3
42ae18eea5
Replace Win32 file IO with UWP safe variants and add support for getting drives to UWP build (#15652)
* replace, all win32 file io with their matching uwp safe variants

* add support for drive listing

* Delete NATIVEAPP.ipch

* Update .gitignore

* fix indentation
2022-07-06 23:59:47 +02:00
Henrik Rydgård
52527798c0 Some file move process tweaks 2021-09-19 20:23:46 +02:00
Unknown W. Brackets
6b30eade31 Common: Use 0 as unknown size in GetFileSize(). 2021-09-17 17:28:28 -07:00
Henrik Rydgård
fcc0337576 Fix the Android recursive size computation and hook it up. 2021-09-11 18:12:30 +02:00
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 #13847
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