summaryrefslogtreecommitdiffstats
path: root/src/common/fs/fs_android.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-06-16 03:39:14 +0200
committerGitHub <noreply@github.com>2023-06-16 03:39:14 +0200
commit9a04793ae865b7dba009d3133950636eb7ede845 (patch)
tree4fa07212a74c4a7409374e18b1e2442d65f929cd /src/common/fs/fs_android.h
parentMerge pull request #10790 from liamwhite/arm-driver-moment (diff)
parentandroid: fs: Fix Exists / IsFile for SAF. (diff)
downloadyuzu-9a04793ae865b7dba009d3133950636eb7ede845.tar
yuzu-9a04793ae865b7dba009d3133950636eb7ede845.tar.gz
yuzu-9a04793ae865b7dba009d3133950636eb7ede845.tar.bz2
yuzu-9a04793ae865b7dba009d3133950636eb7ede845.tar.lz
yuzu-9a04793ae865b7dba009d3133950636eb7ede845.tar.xz
yuzu-9a04793ae865b7dba009d3133950636eb7ede845.tar.zst
yuzu-9a04793ae865b7dba009d3133950636eb7ede845.zip
Diffstat (limited to 'src/common/fs/fs_android.h')
-rw-r--r--src/common/fs/fs_android.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/fs/fs_android.h b/src/common/fs/fs_android.h
index bb8a52648..b441c2a12 100644
--- a/src/common/fs/fs_android.h
+++ b/src/common/fs/fs_android.h
@@ -12,7 +12,10 @@
"openContentUri", "(Ljava/lang/String;Ljava/lang/String;)I")
#define ANDROID_SINGLE_PATH_DETERMINE_FUNCTIONS(V) \
- V(GetSize, std::uint64_t, get_size, CallStaticLongMethod, "getSize", "(Ljava/lang/String;)J")
+ V(GetSize, std::uint64_t, get_size, CallStaticLongMethod, "getSize", "(Ljava/lang/String;)J") \
+ V(IsDirectory, bool, is_directory, CallStaticBooleanMethod, "isDirectory", \
+ "(Ljava/lang/String;)Z") \
+ V(Exists, bool, file_exists, CallStaticBooleanMethod, "exists", "(Ljava/lang/String;)Z")
namespace Common::FS::Android {