diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-24 01:52:18 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-25 04:24:10 +0100 |
commit | 1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9 (patch) | |
tree | d8c1b02cd3db313c0b26cea3e52fed3910d79aae /src/core/hle/service/sm/sm.cpp | |
parent | service: Fix all incorrect IPC response headers. (diff) | |
download | yuzu-1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9.tar yuzu-1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9.tar.gz yuzu-1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9.tar.bz2 yuzu-1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9.tar.lz yuzu-1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9.tar.xz yuzu-1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9.tar.zst yuzu-1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/sm/sm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index 34ed93a80..eeee4a029 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp @@ -83,7 +83,7 @@ std::shared_ptr<ServiceManager> g_service_manager; * 0: ResultCode */ void SM::Initialize(Kernel::HLERequestContext& ctx) { - IPC::RequestBuilder rb{ctx, 2}; + IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); LOG_DEBUG(Service_SM, "called"); } @@ -99,7 +99,7 @@ void SM::GetService(Kernel::HLERequestContext& ctx) { auto client_port = service_manager->GetServicePort(name); if (client_port.Failed()) { - IPC::RequestBuilder rb = rp.MakeBuilder(2, 0, 0); + IPC::ResponseBuilder rb = rp.MakeBuilder(2, 0, 0); rb.Push(client_port.Code()); LOG_ERROR(Service_SM, "called service=%s -> error 0x%08X", name.c_str(), client_port.Code().raw); @@ -112,7 +112,7 @@ void SM::GetService(Kernel::HLERequestContext& ctx) { if (session.Succeeded()) { LOG_DEBUG(Service_SM, "called service=%s -> session=%u", name.c_str(), (*session)->GetObjectId()); - IPC::RequestBuilder rb = rp.MakeBuilder(2, 0, 1, true); + IPC::ResponseBuilder rb = rp.MakeBuilder(2, 0, 1, true); rb.Push(session.Code()); rb.PushMoveObjects(std::move(session).Unwrap()); } |