From f621310da23bee3e68f9b251cf9846c2ebf45e2d Mon Sep 17 00:00:00 2001 From: bunnei Date: Tue, 16 Jan 2018 20:32:08 -0500 Subject: [PATCH] applet_oe: Fix GetOperationMode and GetPerformanceMode. --- src/core/hle/service/am/applet_oe.cpp | 4 ++-- 1 file 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 03d9991b9c..b360e7e5fe 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(APM::PerformanceMode::Handheld)); + rb.Push(static_cast(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(0); + rb.Push(static_cast(APM::PerformanceMode::Handheld)); LOG_WARNING(Service, "(STUBBED) called"); }