summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-19 16:00:23 +0200
committerGitHub <noreply@github.com>2018-09-19 16:00:23 +0200
commit5fbc35426183dcbbec779afb090b4bed4aff697c (patch)
treeccaa4c8d4a6d0a08ecca0f18fabd5889abcd7d14 /src/core/hle/service/am/am.cpp
parentMerge pull request #1348 from ogniK5377/GetImageSize (diff)
parentRemoved MakeBuilder as it's not needed anymore (diff)
downloadyuzu-5fbc35426183dcbbec779afb090b4bed4aff697c.tar
yuzu-5fbc35426183dcbbec779afb090b4bed4aff697c.tar.gz
yuzu-5fbc35426183dcbbec779afb090b4bed4aff697c.tar.bz2
yuzu-5fbc35426183dcbbec779afb090b4bed4aff697c.tar.lz
yuzu-5fbc35426183dcbbec779afb090b4bed4aff697c.tar.xz
yuzu-5fbc35426183dcbbec779afb090b4bed4aff697c.tar.zst
yuzu-5fbc35426183dcbbec779afb090b4bed4aff697c.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));