summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2024-02-19 15:36:20 +0100
committerFearlessTobi <thm.frey@gmail.com>2024-02-19 19:06:31 +0100
commit2b18957365d8f369626ec3b94277621df2fe1729 (patch)
tree16997564f581190e10eb8de9de552aa37bd856ff /src/core/hle/service/am
parentfsp: Migrate remaining interfaces to cmif serialization (diff)
downloadyuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar
yuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar.gz
yuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar.bz2
yuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar.lz
yuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar.xz
yuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar.zst
yuzu-2b18957365d8f369626ec3b94277621df2fe1729.zip
Diffstat (limited to 'src/core/hle/service/am')
-rw-r--r--src/core/hle/service/am/service/application_functions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/am/service/application_functions.cpp b/src/core/hle/service/am/service/application_functions.cpp
index cb53b07e0..bfccb6b09 100644
--- a/src/core/hle/service/am/service/application_functions.cpp
+++ b/src/core/hle/service/am/service/application_functions.cpp
@@ -123,13 +123,13 @@ Result IApplicationFunctions::EnsureSaveData(Out<u64> out_size, Common::UUID use
LOG_INFO(Service_AM, "called, uid={}", user_id.FormattedString());
FileSys::SaveDataAttribute attribute{};
- attribute.title_id = m_applet->program_id;
+ attribute.program_id = m_applet->program_id;
attribute.user_id = user_id.AsU128();
- attribute.type = FileSys::SaveDataType::SaveData;
+ attribute.type = FileSys::SaveDataType::Account;
FileSys::VirtualDir save_data{};
R_TRY(system.GetFileSystemController().OpenSaveDataController()->CreateSaveData(
- &save_data, FileSys::SaveDataSpaceId::NandUser, attribute));
+ &save_data, FileSys::SaveDataSpaceId::User, attribute));
*out_size = 0;
R_SUCCEED();