diff options
author | FearlessTobi <thm.frey@gmail.com> | 2024-02-19 15:43:18 +0100 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2024-02-19 19:11:07 +0100 |
commit | b5a17b501bf66c02495ae6d69a6d734792e3cc6f (patch) | |
tree | e86d3fe28f3fb984bf4b1e5196d39cceb1782631 /src/android | |
parent | fs: Add and use fs_save_data_types.h (diff) | |
download | yuzu-b5a17b501bf66c02495ae6d69a6d734792e3cc6f.tar yuzu-b5a17b501bf66c02495ae6d69a6d734792e3cc6f.tar.gz yuzu-b5a17b501bf66c02495ae6d69a6d734792e3cc6f.tar.bz2 yuzu-b5a17b501bf66c02495ae6d69a6d734792e3cc6f.tar.lz yuzu-b5a17b501bf66c02495ae6d69a6d734792e3cc6f.tar.xz yuzu-b5a17b501bf66c02495ae6d69a6d734792e3cc6f.tar.zst yuzu-b5a17b501bf66c02495ae6d69a6d734792e3cc6f.zip |
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/app/src/main/jni/native.cpp | 6 |
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); } |