diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-04 18:56:04 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-04 19:18:09 +0200 |
commit | 7f506be2ee7cd0b432cc00d085406c01c7df4b0e (patch) | |
tree | f81df4016ee6777add5fd30292b5851ae3e4d628 /src/core/hle/service/am/am.cpp | |
parent | Merge pull request #2330 from lioncash/pragma (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/core/hle/service/am/am.cpp | 7 |
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); |