summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-04 18:56:04 +0200
committerLioncash <mathew1800@gmail.com>2019-04-04 19:18:09 +0200
commit7f506be2ee7cd0b432cc00d085406c01c7df4b0e (patch)
treef81df4016ee6777add5fd30292b5851ae3e4d628 /src/core/hle/service/am
parentMerge pull request #2330 from lioncash/pragma (diff)
downloadyuzu-7f506be2ee7cd0b432cc00d085406c01c7df4b0e.tar
yuzu-7f506be2ee7cd0b432cc00d085406c01c7df4b0e.tar.gz
yuzu-7f506be2ee7cd0b432cc00d085406c01c7df4b0e.tar.bz2
yuzu-7f506be2ee7cd0b432cc00d085406c01c7df4b0e.tar.lz
yuzu-7f506be2ee7cd0b432cc00d085406c01c7df4b0e.tar.xz
yuzu-7f506be2ee7cd0b432cc00d085406c01c7df4b0e.tar.zst
yuzu-7f506be2ee7cd0b432cc00d085406c01c7df4b0e.zip
Diffstat (limited to 'src/core/hle/service/am')
-rw-r--r--src/core/hle/service/am/am.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index a13433bcf..85271d418 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -363,8 +363,6 @@ void ISelfController::SetPerformanceModeChangedNotification(Kernel::HLERequestCo
void ISelfController::SetFocusHandlingMode(Kernel::HLERequestContext& ctx) {
// Takes 3 input u8s with each field located immediately after the previous
// u8, these are bool flags. No output.
- LOG_WARNING(Service_AM, "(STUBBED) called");
-
IPC::RequestParser rp{ctx};
struct FocusHandlingModeParams {
@@ -372,7 +370,10 @@ void ISelfController::SetFocusHandlingMode(Kernel::HLERequestContext& ctx) {
u8 unknown1;
u8 unknown2;
};
- auto flags = rp.PopRaw<FocusHandlingModeParams>();
+ const auto flags = rp.PopRaw<FocusHandlingModeParams>();
+
+ LOG_WARNING(Service_AM, "(STUBBED) called. unknown0={}, unknown1={}, unknown2={}",
+ flags.unknown0, flags.unknown1, flags.unknown2);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);