summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-09-19 07:09:59 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-09-19 07:09:59 +0200
commit6a0612f2bfb9f85c420be01b0b667e936f9c0076 (patch)
tree5aa43da1ef48823ec02801315114e76124f9d04e /src/core/hle/service/am/am.cpp
parentMerge pull request #1348 from ogniK5377/GetImageSize (diff)
downloadyuzu-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/am.cpp')
-rw-r--r--src/core/hle/service/am/am.cpp8
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));