Commit Graph

29909 Commits

Author SHA1 Message Date
Henrik Rydgård
9b32ea2f55 Split out AndroidStorage.cpp from android/jni/app-android.cpp, move to Common 2021-06-07 00:26:24 +02:00
Henrik Rydgård
f8b595521d Simple attempt at libretro buildfix, comment fix 2021-06-07 00:24:52 +02:00
Henrik Rydgård
6c3825bfbd UWP and Android buildfixes 2021-06-07 00:24:52 +02:00
Henrik Rydgård
11ce6a50fc Add missing files that .gitignore ignored... 2021-06-07 00:24:52 +02:00
Henrik Rydgård
6078701f9d Fix File::GetFileInfo for Content URIs. Can now load homebrew. 2021-06-07 00:24:52 +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
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
c86c7686a8 Remove more special casing of content URIs 2021-06-07 00:24:52 +02:00
Henrik Rydgård
1eb36cd655 Remove now-unnecessary special cases in PathBrowser 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
a2fa724d8e Convert GetFileSize to use Path 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
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
e3cf04bb34 Implement file filters for Android in PathBrowser
asdf

Move Android file listing parsing logic into app-android.cpp.

Add utility for parsing/writing Android Content Storage URIs.

Fix some bugs. Allow upwards navigation in file browser from directories downstream from tree URIs.
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
5030f1f719 Android: Get things playable on scoped storage. Things work except the built-in file browser. 2021-06-07 00:24:51 +02:00
Henrik Rydgård
88b2552d64 Turn on scoped storage, for the purposes of testing on this branch. 2021-06-07 00:24:50 +02:00
Henrik Rydgård
66a52e7fc9
Merge pull request #14512 from unknownbrackets/dxt-bounds
GPU: Clamp DXT texture memory bound
2021-06-06 23:10:39 +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
Henrik Rydgård
e6774b48e2
Merge pull request #14509 from unknownbrackets/reporting
Reporting: Move message report interface to Common
2021-06-06 23:05:18 +02:00
Unknown W. Brackets
1f6860d6c1 GPU: Clamp DXT texture memory bound.
See #13109.  This should handle any texture read that starts near a VRAM
or RAM boundary without crashing.
2021-06-06 11:52:26 -07: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
c8cf2ce5c6
Merge pull request #14507 from unknownbrackets/ignore
Global: Tether wildcard git ignore rules
2021-06-06 09:59:47 +02:00
Unknown W. Brackets
18930b980f Global: Tether wildcard git ignore rules.
This way they won't impact files unexpectedly.
2021-06-05 21:58:52 -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
Unknown W. Brackets
5c9bb83e37
Build: Disable NEON png on non-Android too.
Just to be safe.  It's likely a problem on iOS, etc. too.
2021-06-04 20:30:57 -07:00
Unknown W. Brackets
ebfa1306a7
Merge pull request #14503 from twinaphex/patch-1
Update .gitlab-ci.yml for libretro
2021-06-04 13:54:39 -07:00
Autechre
d469a493dd
Update .gitlab-ci.yml 2021-06-04 20:12:57 +02:00
Kingcom
bb6f6051fc Transform labels to lower case for armips 2021-06-04 17:51:28 +02:00
Henrik Rydgård
4a48f80638
Merge pull request #14501 from LunaMoo/disableNEONforPNG
Disable NEON optimizations for libpng17 as a try to fix #14485
2021-06-04 10:58:11 +02:00
LunaMoo
c6b5eef347 Disable NEON optimizations for libpng17 as a try to fix android texture replacement. 2021-06-04 10:26:52 +02:00
Henrik Rydgård
0d96690188
Merge pull request #14496 from unknownbrackets/ios-buttons
iOS: Guard extended button selector access
2021-06-03 09:08:24 +02:00
Henrik Rydgård
138e3f7293
Merge pull request #14497 from unknownbrackets/atlastool
Tools: Correct AtlasTool in release builds
2021-06-03 09:07:46 +02:00
Unknown W. Brackets
2363b39ed5 Tools: Correct AtlasTool in release builds. 2021-06-02 22:21:41 -07:00
Unknown W. Brackets
62da29505a iOS: Guard extended button selector access.
See #14495.
2021-06-02 21:20:18 -07: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