diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-09-19 07:09:59 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-09-19 07:09:59 +0200 |
commit | 6a0612f2bfb9f85c420be01b0b667e936f9c0076 (patch) | |
tree | 5aa43da1ef48823ec02801315114e76124f9d04e /src/core/hle/service/am | |
parent | Merge pull request #1348 from ogniK5377/GetImageSize (diff) | |
download | yuzu-6a0612f2bfb9f85c420be01b0b667e936f9c0076.tar yuzu-6a0612f2bfb9f85c420be01b0b667e936f9c0076.tar.gz yuzu-6a0612f2bfb9f85c420be01b0b667e936f9c0076.tar.bz2 yuzu-6a0612f2bfb9f85c420be01b0b667e936f9c0076.tar.lz yuzu-6a0612f2bfb9f85c420be01b0b667e936f9c0076.tar.xz yuzu-6a0612f2bfb9f85c420be01b0b667e936f9c0076.tar.zst yuzu-6a0612f2bfb9f85c420be01b0b667e936f9c0076.zip |
Diffstat (limited to 'src/core/hle/service/am')
-rw-r--r-- | src/core/hle/service/am/am.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 9c975325a..69bfce1c1 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -462,7 +462,7 @@ private: std::memcpy(&buffer[offset], data.data(), data.size()); - IPC::ResponseBuilder rb{rp.MakeBuilder(2, 0, 0)}; + IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); LOG_DEBUG(Service_AM, "called, offset={}", offset); @@ -478,7 +478,7 @@ private: ctx.WriteBuffer(buffer.data() + offset, size); - IPC::ResponseBuilder rb{rp.MakeBuilder(2, 0, 0)}; + IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); LOG_DEBUG(Service_AM, "called, offset={}", offset); @@ -568,7 +568,7 @@ private: IPC::RequestParser rp{ctx}; storage_stack.push(rp.PopIpcInterface<AM::IStorage>()); - IPC::ResponseBuilder rb{rp.MakeBuilder(2, 0, 0)}; + IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); LOG_DEBUG(Service_AM, "called"); @@ -616,7 +616,7 @@ void ILibraryAppletCreator::CreateStorage(Kernel::HLERequestContext& ctx) { const u64 size{rp.Pop<u64>()}; std::vector<u8> buffer(size); - IPC::ResponseBuilder rb{rp.MakeBuilder(2, 0, 1)}; + IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<AM::IStorage>(std::move(buffer)); |