diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2024-01-15 19:51:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-15 19:51:14 +0100 |
commit | a2ffb419c921fdb2321472131e8c4447c3aab36a (patch) | |
tree | 83965b0a6e58b0bb401f786286d372bfedf6dd1d /src/android/app | |
parent | Merge pull request #12611 from liamwhite/resource-management-is-hard (diff) | |
parent | loader: fix homebrew nro registration (diff) | |
download | yuzu-a2ffb419c921fdb2321472131e8c4447c3aab36a.tar yuzu-a2ffb419c921fdb2321472131e8c4447c3aab36a.tar.gz yuzu-a2ffb419c921fdb2321472131e8c4447c3aab36a.tar.bz2 yuzu-a2ffb419c921fdb2321472131e8c4447c3aab36a.tar.lz yuzu-a2ffb419c921fdb2321472131e8c4447c3aab36a.tar.xz yuzu-a2ffb419c921fdb2321472131e8c4447c3aab36a.tar.zst yuzu-a2ffb419c921fdb2321472131e8c4447c3aab36a.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 e436622e0..ed3b1353a 100644 --- a/src/android/app/src/main/jni/native.cpp +++ b/src/android/app/src/main/jni/native.cpp @@ -770,8 +770,8 @@ void Java_org_yuzu_yuzu_1emu_NativeLibrary_initializeEmptyUserDirectory(JNIEnv* ASSERT(user_id); const auto user_save_data_path = FileSys::SaveDataFactory::GetFullPath( - EmulationSession::GetInstance().System(), vfs_nand_dir, FileSys::SaveDataSpaceId::NandUser, - FileSys::SaveDataType::SaveData, 1, user_id->AsU128(), 0); + {}, vfs_nand_dir, FileSys::SaveDataSpaceId::NandUser, FileSys::SaveDataType::SaveData, 1, + user_id->AsU128(), 0); const auto full_path = Common::FS::ConcatPathSafe(nand_dir, user_save_data_path); if (!Common::FS::CreateParentDirs(full_path)) { @@ -878,7 +878,7 @@ jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_getSavePath(JNIEnv* env, jobject j FileSys::Mode::Read); const auto user_save_data_path = FileSys::SaveDataFactory::GetFullPath( - system, vfsNandDir, FileSys::SaveDataSpaceId::NandUser, FileSys::SaveDataType::SaveData, + {}, vfsNandDir, FileSys::SaveDataSpaceId::NandUser, FileSys::SaveDataType::SaveData, program_id, user_id->AsU128(), 0); return ToJString(env, user_save_data_path); } |