diff options
| author | 2018-01-23 19:52:18 -0500 | |
|---|---|---|
| committer | 2018-01-24 22:24:10 -0500 | |
| commit | 1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9 (patch) | |
| tree | d8c1b02cd3db313c0b26cea3e52fed3910d79aae /src/core/hle/service/apm | |
| parent | service: Fix all incorrect IPC response headers. (diff) | |
| download | yuzu-1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9.tar.gz yuzu-1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9.tar.xz yuzu-1b1d399e5f9018e7e4c5da9dfa0932eacfc392e9.zip | |
hle: Rename RequestBuilder to ResponseBuilder.
Diffstat (limited to 'src/core/hle/service/apm')
| -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: | |||
| 30 | auto mode = static_cast<PerformanceMode>(rp.Pop<u32>()); | 30 | auto mode = static_cast<PerformanceMode>(rp.Pop<u32>()); |
| 31 | u32 config = rp.Pop<u32>(); | 31 | u32 config = rp.Pop<u32>(); |
| 32 | 32 | ||
| 33 | IPC::RequestBuilder rb{ctx, 2}; | 33 | IPC::ResponseBuilder rb{ctx, 2}; |
| 34 | rb.Push(RESULT_SUCCESS); | 34 | rb.Push(RESULT_SUCCESS); |
| 35 | 35 | ||
| 36 | LOG_WARNING(Service, "(STUBBED) called mode=%u config=%u", static_cast<u32>(mode), config); | 36 | LOG_WARNING(Service, "(STUBBED) called mode=%u config=%u", static_cast<u32>(mode), config); |
| @@ -41,7 +41,7 @@ private: | |||
| 41 | 41 | ||
| 42 | auto mode = static_cast<PerformanceMode>(rp.Pop<u32>()); | 42 | auto mode = static_cast<PerformanceMode>(rp.Pop<u32>()); |
| 43 | 43 | ||
| 44 | IPC::RequestBuilder rb{ctx, 3}; | 44 | IPC::ResponseBuilder rb{ctx, 3}; |
| 45 | rb.Push(RESULT_SUCCESS); | 45 | rb.Push(RESULT_SUCCESS); |
| 46 | rb.Push<u32>(0); // Performance configuration | 46 | rb.Push<u32>(0); // Performance configuration |
| 47 | 47 | ||
| @@ -58,7 +58,7 @@ APM::APM() : ServiceFramework("apm") { | |||
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | void APM::OpenSession(Kernel::HLERequestContext& ctx) { | 60 | void APM::OpenSession(Kernel::HLERequestContext& ctx) { |
| 61 | IPC::RequestBuilder rb{ctx, 2, 0, 1}; | 61 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 62 | rb.Push(RESULT_SUCCESS); | 62 | rb.Push(RESULT_SUCCESS); |
| 63 | rb.PushIpcInterface<ISession>(); | 63 | rb.PushIpcInterface<ISession>(); |
| 64 | } | 64 | } |