diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-23 17:34:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 17:34:06 +0100 |
commit | 0da6704fc2e45958ee2bf884128ce0ff5897ac1a (patch) | |
tree | 436e6adbf8dba2fdea6985b3e9b8cc24975d382e /src/android/app | |
parent | Merge pull request #13121 from german77/clean-shortcut (diff) | |
parent | Address review comments (diff) | |
download | yuzu-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.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 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); } |