summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-07-30 21:29:39 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-07-30 21:29:39 +0200
commit45fd67c1093e0aa252228e250a66488029396764 (patch)
tree8cf3244deec6a10ee1eb70a6516c2fc274aab423 /src/core/hle/service/am
parentMerge pull request #4392 from lioncash/guard (diff)
downloadyuzu-45fd67c1093e0aa252228e250a66488029396764.tar
yuzu-45fd67c1093e0aa252228e250a66488029396764.tar.gz
yuzu-45fd67c1093e0aa252228e250a66488029396764.tar.bz2
yuzu-45fd67c1093e0aa252228e250a66488029396764.tar.lz
yuzu-45fd67c1093e0aa252228e250a66488029396764.tar.xz
yuzu-45fd67c1093e0aa252228e250a66488029396764.tar.zst
yuzu-45fd67c1093e0aa252228e250a66488029396764.zip
Diffstat (limited to 'src/core/hle/service/am')
-rw-r--r--src/core/hle/service/am/am.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index ceed20609..55a1edf1a 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -1342,12 +1342,12 @@ void IApplicationFunctions::EnsureSaveData(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called, uid={:016X}{:016X}", user_id[1], user_id[0]);
- FileSys::SaveDataDescriptor descriptor{};
- descriptor.title_id = system.CurrentProcess()->GetTitleID();
- descriptor.user_id = user_id;
- descriptor.type = FileSys::SaveDataType::SaveData;
+ FileSys::SaveDataAttribute attribute{};
+ attribute.title_id = system.CurrentProcess()->GetTitleID();
+ attribute.user_id = user_id;
+ attribute.type = FileSys::SaveDataType::SaveData;
const auto res = system.GetFileSystemController().CreateSaveData(
- FileSys::SaveDataSpaceId::NandUser, descriptor);
+ FileSys::SaveDataSpaceId::NandUser, attribute);
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(res.Code());