aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-16 20:32:08 -0500
committerbunnei <bunneidev@gmail.com>2018-01-16 20:32:08 -0500
commit164c8e8bc734f4e99cd9be9be75aa9faccac1a40 (patch)
treefd6d1db6ea25ee744f4e65733b4450bdd0fab5ac /src/core
parent9eb6d67a12991de79c70a1b7bdef3a15f9d07b15 (diff)
applet_oe: Fix GetOperationMode and GetPerformanceMode.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/am/applet_oe.cpp4
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 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<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");
}