diff options
author | Liam <byteslice@airmail.cc> | 2024-01-08 06:49:00 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-11 17:28:52 +0100 |
commit | aae9eea53208fc0924c90ebb1272fcfaa3f23e0c (patch) | |
tree | 050ccc76dd2fad3c3f81197aa6435674caeac86f /src/android/app | |
parent | Merge pull request #12608 from szepeviktor/typos (diff) | |
download | yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.gz yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.bz2 yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.lz yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.xz yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.zst yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.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 136c8dee6..8017eb58d 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); } |