summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-23 17:34:06 +0100
committerGitHub <noreply@github.com>2024-02-23 17:34:06 +0100
commit0da6704fc2e45958ee2bf884128ce0ff5897ac1a (patch)
tree436e6adbf8dba2fdea6985b3e9b8cc24975d382e /src/android/app
parentMerge pull request #13121 from german77/clean-shortcut (diff)
parentAddress review comments (diff)
downloadyuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar
yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar.gz
yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar.bz2
yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar.lz
yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar.xz
yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.tar.zst
yuzu-0da6704fc2e45958ee2bf884128ce0ff5897ac1a.zip
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/src/main/jni/native.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp
index 1226219ad..5d484a85e 100644
--- a/src/android/app/src/main/jni/native.cpp
+++ b/src/android/app/src/main/jni/native.cpp
@@ -668,7 +668,7 @@ void Java_org_yuzu_yuzu_1emu_NativeLibrary_initializeEmptyUserDirectory(JNIEnv*
ASSERT(user_id);
const auto user_save_data_path = FileSys::SaveDataFactory::GetFullPath(
- {}, vfs_nand_dir, FileSys::SaveDataSpaceId::NandUser, FileSys::SaveDataType::SaveData, 1,
+ {}, vfs_nand_dir, FileSys::SaveDataSpaceId::User, FileSys::SaveDataType::Account, 1,
user_id->AsU128(), 0);
const auto full_path = Common::FS::ConcatPathSafe(nand_dir, user_save_data_path);
@@ -836,8 +836,8 @@ jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_getSavePath(JNIEnv* env, jobject j
FileSys::OpenMode::Read);
const auto user_save_data_path = FileSys::SaveDataFactory::GetFullPath(
- {}, vfsNandDir, FileSys::SaveDataSpaceId::NandUser, FileSys::SaveDataType::SaveData,
- program_id, user_id->AsU128(), 0);
+ {}, vfsNandDir, FileSys::SaveDataSpaceId::User, FileSys::SaveDataType::Account, program_id,
+ user_id->AsU128(), 0);
return Common::Android::ToJString(env, user_save_data_path);
}