mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-20 14:25:40 +00:00
Android: Allow SDL_IOFromFile to open content:// URI. (#9696)
This commit is contained in:
@@ -175,8 +175,9 @@ typedef struct SDL_IOStream SDL_IOStream;
|
||||
* This function supports Unicode filenames, but they must be encoded in UTF-8
|
||||
* format, regardless of the underlying operating system.
|
||||
*
|
||||
* As a fallback, SDL_IOFromFile() will transparently open a matching filename
|
||||
* in an Android app's `assets`.
|
||||
* In Android, SDL_IOFromFile() can be used to open content:// URIs. As a
|
||||
* fallback, SDL_IOFromFile() will transparently open a matching filename
|
||||
* in the app's `assets`.
|
||||
*
|
||||
* Closing the SDL_IOStream will close SDL's internal file handle.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user