mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 20:02:47 +00:00
common: fs: Implement for Android.
This commit is contained in:
parent
99296a1510
commit
f8b87e6fab
|
@ -95,6 +95,13 @@ private:
|
||||||
|
|
||||||
yuzu_path_cache = yuzu_path / CACHE_DIR;
|
yuzu_path_cache = yuzu_path / CACHE_DIR;
|
||||||
yuzu_path_config = yuzu_path / CONFIG_DIR;
|
yuzu_path_config = yuzu_path / CONFIG_DIR;
|
||||||
|
#elif ANDROID
|
||||||
|
// On Android internal storage is mounted as "/sdcard"
|
||||||
|
if (Exists("/sdcard")) {
|
||||||
|
yuzu_path = "/sdcard/yuzu-emu";
|
||||||
|
yuzu_path_cache = yuzu_path / CACHE_DIR;
|
||||||
|
yuzu_path_config = yuzu_path / CONFIG_DIR;
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
yuzu_path = GetCurrentDir() / PORTABLE_DIR;
|
yuzu_path = GetCurrentDir() / PORTABLE_DIR;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue