diff options
| author | 2019-07-06 13:42:06 -0400 | |
|---|---|---|
| committer | 2019-09-21 22:25:18 -0400 | |
| commit | e58e3719d89bd8ce2c919ab154ec93a657807b3a (patch) | |
| tree | 5b82cc269fc5d6200ddc7ca82295f7e8980c4546 /src | |
| parent | am: Implement ISelfController Exit (diff) | |
| download | yuzu-e58e3719d89bd8ce2c919ab154ec93a657807b3a.tar.gz yuzu-e58e3719d89bd8ce2c919ab154ec93a657807b3a.tar.xz yuzu-e58e3719d89bd8ce2c919ab154ec93a657807b3a.zip | |
am: Implement ISelfController ExitLock commands
Diffstat (limited to 'src')
| -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) { | |||
| 308 | } | 308 | } |
| 309 | 309 | ||
| 310 | void ISelfController::LockExit(Kernel::HLERequestContext& ctx) { | 310 | void 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 | ||
| 317 | void ISelfController::UnlockExit(Kernel::HLERequestContext& ctx) { | 319 | void 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); |