diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-17 02:32:08 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-17 02:32:08 +0100 |
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 yuzu-f621310da23bee3e68f9b251cf9846c2ebf45e2d.tar.gz yuzu-f621310da23bee3e68f9b251cf9846c2ebf45e2d.tar.bz2 yuzu-f621310da23bee3e68f9b251cf9846c2ebf45e2d.tar.lz yuzu-f621310da23bee3e68f9b251cf9846c2ebf45e2d.tar.xz yuzu-f621310da23bee3e68f9b251cf9846c2ebf45e2d.tar.zst yuzu-f621310da23bee3e68f9b251cf9846c2ebf45e2d.zip |
Diffstat (limited to '')
-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: void GetOperationMode(Kernel::HLERequestContext& ctx) { IPC::RequestBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Push(static_cast<u32>(APM::PerformanceMode::Handheld)); + rb.Push(static_cast<u8>(OperationMode::Handheld)); LOG_WARNING(Service, "(STUBBED) called"); } @@ -193,7 +193,7 @@ private: void GetPerformanceMode(Kernel::HLERequestContext& ctx) { IPC::RequestBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Push<u32>(0); + rb.Push(static_cast<u32>(APM::PerformanceMode::Handheld)); LOG_WARNING(Service, "(STUBBED) called"); } |