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

194 commits

Author SHA1 Message Date
Henrik Rydgård
ef386ac4c5 Add "GetFileInfoByHandle" function to (many) file systems 2025-03-19 10:42:30 +01:00
Henrik Rydgård
3ab625a0fa Windows: Lock when updating the window title 2025-03-06 14:24:40 +01:00
Henrik Rydgård
7e3e944e3b Update GetSecondBufferInfo 2025-03-05 17:02:46 +01:00
Henrik Rydgård
c6691de64c Remove excessive error reporting 2025-03-02 02:28:42 +01:00
oltolm
f11674b2d6 get rid of more __MINGW32__ ifdefs 2025-01-19 10:33:22 +01:00
Henrik Rydgård
6cae2df12d UWP buildfix 2025-01-02 19:52:51 +01: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
92e7a28d98 Fix two edge cases in path mapping on scoped storage.
Fixes 
2025-01-02 17:41:52 +01:00
Henrik Rydgård
3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
7e194d15e2 For the free-space savedata scan, only scan relevant subdirectories. 2024-11-29 15:34:22 +01:00
Henrik Rydgård
47d8e292eb ImDebugger: Add basic filesystem browser. Add partial support for "save file dialogs" to System. 2024-11-25 23:03:15 +01:00
Henrik Rydgård
8a5be21140 MemStick screen: Call free_disk_space from async tasks
See 
2024-10-11 13:45:43 +02:00
Henrik Rydgård
9952c42426 Use message IDs to avoid some repetition of notifications.
Also fixes some awkward English.
2024-09-24 14:02:17 +02:00
Henrik Rydgård
d331e80542 sceIoGetStat: Fix retrieving timestamps from directories 2024-07-18 13:37:32 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ()
* 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
aa94867128 Warning fixes 2024-05-20 10:04:11 +02:00
Henrik Rydgård
55974f61ad Fix a bunch of cases where we forgot to check for chd files 2024-03-13 09:31:31 +01:00
rofl0r
55ae3b1c3e FS: fix crash overreading data on flash0
noticed while using intrafont with some homebrew code.
when using musl libc's hardened malloc, the overread in the
code caused PPSSPP to segfault.
2024-02-26 17:17:33 +00:00
Henrik Rydgård
ff12ff1345 Android: Fix running plain PRXs on scoped storage. Minor cleanup. 2024-01-18 00:22:51 +01:00
Henrik Rydgård
e3177ac870 Make some global string pointers const, not just the strings.
Minor cleanup.
2023-12-29 14:09:45 +01:00
Herman Semenov
af41281761 [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
sum2012
d0fced8ef1 Update Directory for DJmax 2023-11-22 21:33:18 +08:00
Henrik Rydgård
eb21a2e6c9 Break out the OSD data holder from Common/System/System.h, into OSD.cpp/h 2023-06-30 17:15:49 +02:00
Henrik Rydgård
7cc8c6cea4 OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI). 2023-06-20 14:40:46 +02:00
Henrik Rydgård
923442ed4c Make the DJ Max workaround more aggressive about hiding stuff.
May help 
2023-05-16 18:24:59 +02:00
Henrik Rydgård
ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Unknown W. Brackets
269f01f841 SaveState: Attempt to recover from missing files.
If there were files open before that don't exist, things could go badly.
But we could at least load the state file and hope the game doesn't break.
That's better that refusing to load at all.
2023-04-02 12:17:59 -07:00
Henrik Rydgård
9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Henrik Rydgård
66d2fb2aa4 Reduce logspam from fonts, and a less angry error message for missing textures.zip. 2023-03-16 23:12:46 +01:00
Henrik Rydgård
3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Unknown W. Brackets
a7b7bf7826 Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
8fa24045b1 Io: Fail open earlier from ms0: w/ no access flags.
The PSP returns this error code if you use 0 for the open flags on ms0:/.
2022-10-15 20:55:26 -07:00
Unknown W. Brackets
8c1acc30e4 Savedata: Combine file info and dir listing calls. 2022-10-09 14:42:31 -07:00
Unknown W. Brackets
4942692558 Io: Provide directory existence with listing.
Sometimes, you need to tell the difference between an empty directory and
one that doesn't exist at all.  We can do this in a single call.
2022-10-09 14:42:31 -07:00
Unknown W. Brackets
8d848f083b Io: Reduce operations inside GetFileInfo().
These can take time so let's try to bundle them.
2022-10-09 14:42:30 -07:00
tunip3
42ae18eea5
Replace Win32 file IO with UWP safe variants and add support for getting drives to UWP build ()
* 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
Unknown W. Brackets
456a38b1c5 Android: Correct truncation behavior. 2022-02-06 22:05:56 -08: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
b069a239aa Add sanity check to DirectoryFileHandle::Read 2021-10-07 23:59:21 +02:00
Henrik Rydgård
de3d711616 Move FixPathCase to Common/File/Path 2021-09-11 21:17:23 +02:00
Henrik Rydgård
fcc0337576 Fix the Android recursive size computation and hook it up. 2021-09-11 18:12:30 +02:00
Unknown W. Brackets
906664b9d8 Io: Cache SAVEDATA usage between writes.
Some games will loop over saves to check the size of each, and calculating
the total usage is expensive.  We don't need to recalculate each time.
2021-09-11 07:29:15 -07:00
Henrik Rydgård
3be1ff6ce4 Get the new setup flow going, with a confirmation dialog etc.
Moving the folder while already installed still crashes.
2021-08-04 23:22:43 +02:00
Henrik Rydgård
b3c2252b28 Fix further issues when the memstick dir is the PSP dir 2021-07-25 19:23:24 +02:00
Henrik Rydgård
8ab627d6e9 Workaround for the /PSP path thing. Needs testing. 2021-07-25 17:32:12 +02:00
Henrik Rydgård
6b0851cb73 Use a simpler method that actually works to get free storage space from content URI. 2021-07-24 00:33:05 +02:00
Henrik Rydgård
f0f2506dcc Forgot to pass the flags to GetFilesInDir to mimic the old behavior 2021-07-19 17:38:01 +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
2f04fc1c00 Refactor DirectoryFileSystem::GetDirListing to use GetFilesInDir.
Lets us remove some platform specific code, fixing the content URI case.
2021-07-19 17:34:51 +02:00
Henrik Rydgård
bea9f67c02 Fix assorted path issues 2021-07-19 17:34:51 +02:00