diff options
author | mailwl <mailwl@gmail.com> | 2018-02-22 11:04:23 +0100 |
---|---|---|
committer | mailwl <mailwl@gmail.com> | 2018-02-22 11:04:23 +0100 |
commit | 910198a29a7d9679d4286a337aa223543545e798 (patch) | |
tree | dd17c952c72b055df24cd11cf923dff3980400df /src/core/hle/service/am/am.cpp | |
parent | Merge pull request #211 from shinyquagsire23/time_local (diff) | |
download | yuzu-910198a29a7d9679d4286a337aa223543545e798.tar yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.gz yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.bz2 yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.lz yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.xz yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.zst yuzu-910198a29a7d9679d4286a337aa223543545e798.zip |
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r-- | src/core/hle/service/am/am.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 03305814f..d36d37089 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -46,6 +46,7 @@ ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger {1, &ISelfController::LockExit, "LockExit"}, {2, &ISelfController::UnlockExit, "UnlockExit"}, {9, &ISelfController::GetLibraryAppletLaunchableEvent, "GetLibraryAppletLaunchableEvent"}, + {10, &ISelfController::SetScreenShotPermission, "SetScreenShotPermission"}, {11, &ISelfController::SetOperationModeChangedNotification, "SetOperationModeChangedNotification"}, {12, &ISelfController::SetPerformanceModeChangedNotification, @@ -98,6 +99,13 @@ void ISelfController::SetPerformanceModeChangedNotification(Kernel::HLERequestCo LOG_WARNING(Service_AM, "(STUBBED) called flag=%u", static_cast<u32>(flag)); } +void ISelfController::SetScreenShotPermission(Kernel::HLERequestContext& ctx) { + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + + LOG_WARNING(Service_AM, "(STUBBED) called"); +} + void ISelfController::SetOperationModeChangedNotification(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; |