summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apm/apm.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-24 01:52:18 +0100
committerbunnei <bunneidev@gmail.com>2018-01-25 04:24:10 +0100
commit1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9 (patch)
treed8c1b02cd3db313c0b26cea3e52fed3910d79aae /src/core/hle/service/apm/apm.cpp
parentservice: Fix all incorrect IPC response headers. (diff)
downloadyuzu-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 'src/core/hle/service/apm/apm.cpp')
-rw-r--r--src/core/hle/service/apm/apm.cpp6
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>();
}