aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/android
diff options
context:
space:
mode:
authorFearlessTobi <[email protected]>2024-02-19 15:43:18 +0100
committerFearlessTobi <[email protected]>2024-02-19 19:11:07 +0100
commitb5a17b501bf66c02495ae6d69a6d734792e3cc6f (patch)
treee86d3fe28f3fb984bf4b1e5196d39cceb1782631 /src/android
parent2b18957365d8f369626ec3b94277621df2fe1729 (diff)
downloadyuzu-mainline-b5a17b501bf66c02495ae6d69a6d734792e3cc6f.tar.gz
yuzu-mainline-b5a17b501bf66c02495ae6d69a6d734792e3cc6f.zip
Address review comments
Diffstat (limited to 'src/android')
-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 4ea82e217..fa2300ae6 100644
--- a/src/android/app/src/main/jni/native.cpp
+++ b/src/android/app/src/main/jni/native.cpp
@@ -665,7 +665,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);
@@ -833,8 +833,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);
}