mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 17:00:57 +01:00
applet_oe: Fix GetOperationMode and GetPerformanceMode.
This commit is contained in:
parent
cb75b56e45
commit
f621310da2
1 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ private:
|
||||||
void GetOperationMode(Kernel::HLERequestContext& ctx) {
|
void GetOperationMode(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestBuilder rb{ctx, 3};
|
IPC::RequestBuilder rb{ctx, 3};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
rb.Push(static_cast<u32>(APM::PerformanceMode::Handheld));
|
rb.Push(static_cast<u8>(OperationMode::Handheld));
|
||||||
|
|
||||||
LOG_WARNING(Service, "(STUBBED) called");
|
LOG_WARNING(Service, "(STUBBED) called");
|
||||||
}
|
}
|
||||||
|
@ -193,7 +193,7 @@ private:
|
||||||
void GetPerformanceMode(Kernel::HLERequestContext& ctx) {
|
void GetPerformanceMode(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestBuilder rb{ctx, 3};
|
IPC::RequestBuilder rb{ctx, 3};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
rb.Push<u32>(0);
|
rb.Push(static_cast<u32>(APM::PerformanceMode::Handheld));
|
||||||
|
|
||||||
LOG_WARNING(Service, "(STUBBED) called");
|
LOG_WARNING(Service, "(STUBBED) called");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue