diff options
| author | 2018-01-16 20:32:08 -0500 | |
|---|---|---|
| committer | 2018-01-16 20:32:08 -0500 | |
| commit | f621310da23bee3e68f9b251cf9846c2ebf45e2d (patch) | |
| tree | fd6d1db6ea25ee744f4e65733b4450bdd0fab5ac /src | |
| parent | NV: Implemented the nvdrv service, which uses the same interface as nvdrv:a (diff) | |
| download | yuzu-f621310da23bee3e68f9b251cf9846c2ebf45e2d.tar.gz yuzu-f621310da23bee3e68f9b251cf9846c2ebf45e2d.tar.xz yuzu-f621310da23bee3e68f9b251cf9846c2ebf45e2d.zip | |
applet_oe: Fix GetOperationMode and GetPerformanceMode.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/am/applet_oe.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cpp index 03d9991b9..b360e7e5f 100644 --- a/src/core/hle/service/am/applet_oe.cpp +++ b/src/core/hle/service/am/applet_oe.cpp | |||
| @@ -185,7 +185,7 @@ private: | |||
| 185 | void GetOperationMode(Kernel::HLERequestContext& ctx) { | 185 | void GetOperationMode(Kernel::HLERequestContext& ctx) { |
| 186 | IPC::RequestBuilder rb{ctx, 3}; | 186 | IPC::RequestBuilder rb{ctx, 3}; |
| 187 | rb.Push(RESULT_SUCCESS); | 187 | rb.Push(RESULT_SUCCESS); |
| 188 | rb.Push(static_cast<u32>(APM::PerformanceMode::Handheld)); | 188 | rb.Push(static_cast<u8>(OperationMode::Handheld)); |
| 189 | 189 | ||
| 190 | LOG_WARNING(Service, "(STUBBED) called"); | 190 | LOG_WARNING(Service, "(STUBBED) called"); |
| 191 | } | 191 | } |
| @@ -193,7 +193,7 @@ private: | |||
| 193 | void GetPerformanceMode(Kernel::HLERequestContext& ctx) { | 193 | void GetPerformanceMode(Kernel::HLERequestContext& ctx) { |
| 194 | IPC::RequestBuilder rb{ctx, 3}; | 194 | IPC::RequestBuilder rb{ctx, 3}; |
| 195 | rb.Push(RESULT_SUCCESS); | 195 | rb.Push(RESULT_SUCCESS); |
| 196 | rb.Push<u32>(0); | 196 | rb.Push(static_cast<u32>(APM::PerformanceMode::Handheld)); |
| 197 | 197 | ||
| 198 | LOG_WARNING(Service, "(STUBBED) called"); | 198 | LOG_WARNING(Service, "(STUBBED) called"); |
| 199 | } | 199 | } |