diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2020-07-31 16:44:14 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2020-07-31 16:44:14 +0200 |
commit | e586921c28f1cdf9c97b306835c345e11dec0da8 (patch) | |
tree | 1048bc2cb3c8ef9aecba8e61123d3e911d493afa /src/core/hle/service/am/am.cpp | |
parent | Merge pull request #4392 from lioncash/guard (diff) | |
download | yuzu-e586921c28f1cdf9c97b306835c345e11dec0da8.tar yuzu-e586921c28f1cdf9c97b306835c345e11dec0da8.tar.gz yuzu-e586921c28f1cdf9c97b306835c345e11dec0da8.tar.bz2 yuzu-e586921c28f1cdf9c97b306835c345e11dec0da8.tar.lz yuzu-e586921c28f1cdf9c97b306835c345e11dec0da8.tar.xz yuzu-e586921c28f1cdf9c97b306835c345e11dec0da8.tar.zst yuzu-e586921c28f1cdf9c97b306835c345e11dec0da8.zip |
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r-- | src/core/hle/service/am/am.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index ceed20609..4d350e553 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -378,7 +378,11 @@ void ISelfController::GetLibraryAppletLaunchableEvent(Kernel::HLERequestContext& } void ISelfController::SetScreenShotPermission(Kernel::HLERequestContext& ctx) { - LOG_WARNING(Service_AM, "(STUBBED) called"); + IPC::RequestParser rp{ctx}; + const auto permission = rp.PopEnum<ScreenshotPermission>(); + LOG_DEBUG(Service_AM, "called, permission={}", permission); + + screenshot_permission = permission; IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); |