mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
Android: Fix opening games with extensionless URI
This commit is contained in:
parent
e60665da94
commit
525268f043
6 changed files with 39 additions and 0 deletions
|
@ -28,6 +28,12 @@ bool DeleteAndroidContent(const std::string& uri);
|
|||
// Returns -1 if not found, -2 if directory, file size otherwise.
|
||||
jlong GetAndroidContentSizeAndIsDirectory(const std::string& uri);
|
||||
|
||||
// An unmangled URI (one which the C++ code has not appended anything to) can't be relied on
|
||||
// to contain a file name at all. If a file name is desired, this function is the most reliable
|
||||
// way to get it, but the display name is not guaranteed to always actually be like a file name.
|
||||
// An empty string will be returned for files which do not exist.
|
||||
std::string GetAndroidContentDisplayName(const std::string& uri);
|
||||
|
||||
int GetNetworkIpAddress();
|
||||
int GetNetworkPrefixLength();
|
||||
int GetNetworkGateway();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue