Commit graph

10799 commits

Author SHA1 Message Date
Henrik Rydgård
73871b9b7e Implement new thread manager, port stuff to it. 2021-06-12 13:03:53 +02:00
Unknown W. Brackets
84036fa765 Io: Correct file open error code. 2021-06-09 21:51:43 -07:00
Unknown W. Brackets
cdaf533913
Merge pull request #14232 from hrydgard/more-scoped-storage
Android: Implement initial support for scoped storage
2021-06-07 23:22:25 -07:00
ANR2ME
eda0e3e250 Reducing HLE delays on Adhoc-related syscalls that can be called more than once on a single frame. 2021-06-07 12:01:25 +07:00
ANR2ME
2d71ac9a7f Reducing HLE delays on socket-related syscalls since we are using real network which already have it's own overhead. 2021-06-07 11:59:51 +07:00
ANR2ME
dada18573a Minor changes to Adhoc's Verbose Logs returning error code. 2021-06-07 11:06:28 +07:00
Henrik Rydgård
3737daaf0c Address more feedback, warning fix 2021-06-07 00:26:26 +02:00
Henrik Rydgård
1aed8ce7b1 Add content URI support to LocalFileLoader, remove ContentUriFileLoader 2021-06-07 00:24:52 +02:00
Henrik Rydgård
ad72dc8748 Can now install to but not run homebrew from content uri 2021-06-07 00:24:52 +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
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
6553b96368 Remove AndroidStorageFileSystem. Not useful. 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
beb0b4e9f3 More work on AndroidStorageFileSystem.cpp. Fix current directory getting reset. 2021-06-07 00:24:51 +02:00
Henrik Rydgård
ef607a5fe2 Implement a "FileSystem" that wraps Android content storage. So far unused. 2021-06-07 00:24:51 +02:00
Henrik Rydgård
87a25fd230 Start experimenting with DocumentsContract (the thing DocumentFile wraps)
wip

Some progress towards making the file browser work with DOCUMENT_TREE

More directory browsing progress

More Scoped Storage hackery. Can now browse to a folder and use PPSSPP's game browser to load ISOs from it.

Remove the defunct fdopendir approach. Buildfixes.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
3d0a09f8db
Merge pull request #14510 from unknownbrackets/io-tty
Io: Allow opening tty0: for output
2021-06-06 23:09:23 +02:00
Unknown W. Brackets
9324a1c20b Io: Don't confuse kernel object with meta handle.
Make sure we never try to close an unrelated open file when destroying an
async open temporary file node.
2021-06-06 09:58:46 -07:00
Unknown W. Brackets
294f78dec9 Io: Allow opening tty0: for output. 2021-06-06 09:56:41 -07:00
Unknown W. Brackets
64678e0114 Reporting: Move message report interface to Common.
This makes it so we can call reporting from Common.
2021-06-06 09:22:03 -07:00
Henrik Rydgård
69fa207449
Merge pull request #14492 from ANR2ME/adhoc_gamemode
[AdhocGameMode] Create GameMode's socket after Master and all Replicas have been created
2021-06-05 17:37:52 +02:00
Unknown W. Brackets
09bd12f6c9
Merge pull request #14502 from Kingcom/armips
Transform labels to lower case for armips
2021-06-04 23:59:32 -07:00
Kingcom
bb6f6051fc Transform labels to lower case for armips 2021-06-04 17:51:28 +02:00
Henrik Rydgård
914b4478b6
Merge pull request #14493 from unknownbrackets/replay
Add debugger APIs for replay recording
2021-05-31 11:45:39 +02:00
Henrik Rydgård
d5d25d3da5
Merge pull request #14494 from unknownbrackets/debugger
Debugger: Expose API to reset game
2021-05-31 11:44:42 +02:00
Unknown W. Brackets
6e128eb510 Debugger: Expose API to reset game.
This can be useful to put the game back to a known-good state before
setting up breakpoints, overwriting memory, and processing replay data.
2021-05-30 21:12:30 -07:00
Unknown W. Brackets
ea59fa3562 Debugger: Add replay execute/flush APIs. 2021-05-30 15:25:07 -07:00
ANR2ME
7a06103cc6 Create GameMode's socket after Master and all Replicas have been created so we will know the largest buffer size. 2021-05-31 04:37:09 +07:00
Henrik Rydgård
239838b6c3 Remove the ability to have multiple search paths for config. 2021-05-30 12:45:12 +02:00
Henrik Rydgård
72915f88c8 Config: Remove the use of multiple search paths. 2021-05-30 12:39:16 +02:00
Henrik Rydgård
c803e9fc58 Remove createdPath_ from Config.cpp/h, seems pretty useless. 2021-05-30 11:10:20 +02:00
Henrik Rydgård
0328816870 Rename g_Config.externalDirectory to defaultCurrentDirectory - since that's what it was.
Also make currentDirectory a Path, and add support for Path config
parameters.

Buildfixes

More Qt buildfixes

Oops, didn't mean to change zstd ver
2021-05-30 00:49:47 +02:00
Unknown W. Brackets
85c64d3ec3 Replay: Properly load RTC time on load file. 2021-05-29 14:50:57 -07:00
Unknown W. Brackets
64e007c0ce Debugger: Add stub API for replay functionality. 2021-05-29 14:50:57 -07:00
Henrik Rydgård
8d08991ad6
Merge pull request #14467 from unknownbrackets/texreplace-zim
Add support for ZIMs in texture replacements
2021-05-24 07:33:54 +02:00
trilkk
033d0c3f50 Fix FixPathCase bug when constructing the full path.
Swap the append order for / and the path component.
2021-05-17 21:18:24 +03:00
Henrik Rydgård
5fa1af6eff
Merge pull request #14468 from unknownbrackets/reporting-cancel
Reporting: Cancel requests on shutdown
2021-05-16 22:58:44 +02:00
Unknown W. Brackets
eab2d74091 Reporting: Cancel requests on shutdown.
Could previously cause PPSSPP to hang a bit on exit.
2021-05-16 09:55:50 -07:00
Unknown W. Brackets
cedf196d8f Replacement: Validate ZIMs are 8888. 2021-05-16 09:48:28 -07:00
Unknown W. Brackets
a0f79ed624 Replacement: Allow loading ZIMs for replacements.
Larger, but can be ZSTD compressed and load much faster.
2021-05-16 09:30:33 -07:00
ANR2ME
8dcfed0385 Show Port Offset value too when detecting Data coming from incorrect port. 2021-05-16 13:16:20 +07:00
ANR2ME
d5177e33b9 Fix possible crash issue on blocking socket implementation. 2021-05-16 12:55:55 +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
2558022afe Config: Move data path settings to Paths. 2021-05-15 11:11:37 -07:00
Unknown W. Brackets
a097403298 Common: Remove File::GetFilename(). 2021-05-14 23:08:31 -07:00
Unknown W. Brackets
b74ecd5fa0 SaveState: Use Path instead of strings. 2021-05-14 23:00:22 -07:00
Unknown W. Brackets
d376e67f87 Common: Cleanup some Path constructions. 2021-05-14 22:48:04 -07:00