diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-07-06 19:42:06 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 04:25:18 +0200 |
commit | e58e3719d89bd8ce2c919ab154ec93a657807b3a (patch) | |
tree | 5b82cc269fc5d6200ddc7ca82295f7e8980c4546 | |
parent | am: Implement ISelfController Exit (diff) | |
download | yuzu-e58e3719d89bd8ce2c919ab154ec93a657807b3a.tar yuzu-e58e3719d89bd8ce2c919ab154ec93a657807b3a.tar.gz yuzu-e58e3719d89bd8ce2c919ab154ec93a657807b3a.tar.bz2 yuzu-e58e3719d89bd8ce2c919ab154ec93a657807b3a.tar.lz yuzu-e58e3719d89bd8ce2c919ab154ec93a657807b3a.tar.xz yuzu-e58e3719d89bd8ce2c919ab154ec93a657807b3a.tar.zst yuzu-e58e3719d89bd8ce2c919ab154ec93a657807b3a.zip |
-rw-r--r-- | src/core/hle/service/am/am.cpp | 8 |
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) { } void ISelfController::LockExit(Kernel::HLERequestContext& ctx) { - LOG_WARNING(Service_AM, "(STUBBED) called"); + LOG_DEBUG(Service_AM, "called"); + + system.SetExitLock(true); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); } void ISelfController::UnlockExit(Kernel::HLERequestContext& ctx) { - LOG_WARNING(Service_AM, "(STUBBED) called"); + LOG_DEBUG(Service_AM, "called"); + + system.SetExitLock(false); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); |