summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/hle/service/am/am.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 7d8649642..a64e9c430 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -308,14 +308,18 @@ void ISelfController::Exit(Kernel::HLERequestContext& ctx) {
308} 308}
309 309
310void ISelfController::LockExit(Kernel::HLERequestContext& ctx) { 310void ISelfController::LockExit(Kernel::HLERequestContext& ctx) {
311 LOG_WARNING(Service_AM, "(STUBBED) called"); 311 LOG_DEBUG(Service_AM, "called");
312
313 system.SetExitLock(true);
312 314
313 IPC::ResponseBuilder rb{ctx, 2}; 315 IPC::ResponseBuilder rb{ctx, 2};
314 rb.Push(RESULT_SUCCESS); 316 rb.Push(RESULT_SUCCESS);
315} 317}
316 318
317void ISelfController::UnlockExit(Kernel::HLERequestContext& ctx) { 319void ISelfController::UnlockExit(Kernel::HLERequestContext& ctx) {
318 LOG_WARNING(Service_AM, "(STUBBED) called"); 320 LOG_DEBUG(Service_AM, "called");
321
322 system.SetExitLock(false);
319 323
320 IPC::ResponseBuilder rb{ctx, 2}; 324 IPC::ResponseBuilder rb{ctx, 2};
321 rb.Push(RESULT_SUCCESS); 325 rb.Push(RESULT_SUCCESS);