mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-30 23:49:01 -05:00 
			
		
		
		
	am: Implement ISelfController ExitLock commands
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zach Hilman
					Zach Hilman