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/apm/apm.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/apm/apm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/apm/apm.cpp b/src/core/hle/service/apm/apm.cpp index a005db8a4..c4b1723c5 100644 --- a/src/core/hle/service/apm/apm.cpp +++ b/src/core/hle/service/apm/apm.cpp @@ -30,7 +30,7 @@ private: auto mode = static_cast<PerformanceMode>(rp.Pop<u32>()); u32 config = rp.Pop<u32>(); - IPC::RequestBuilder rb{ctx, 2}; + IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); LOG_WARNING(Service, "(STUBBED) called mode=%u config=%u", static_cast<u32>(mode), config); @@ -41,7 +41,7 @@ private: auto mode = static_cast<PerformanceMode>(rp.Pop<u32>()); - IPC::RequestBuilder rb{ctx, 3}; + IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); rb.Push<u32>(0); // Performance configuration @@ -58,7 +58,7 @@ APM::APM() : ServiceFramework("apm") { } void APM::OpenSession(Kernel::HLERequestContext& ctx) { - IPC::RequestBuilder rb{ctx, 2, 0, 1}; + IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<ISession>(); } |