diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-07-30 21:29:39 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-07-30 21:29:39 +0200 |
commit | 45fd67c1093e0aa252228e250a66488029396764 (patch) | |
tree | 8cf3244deec6a10ee1eb70a6516c2fc274aab423 /src/core/hle/service/am/am.cpp | |
parent | Merge pull request #4392 from lioncash/guard (diff) | |
download | yuzu-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/am.cpp')
-rw-r--r-- | src/core/hle/service/am/am.cpp | 10 |
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()); |