From ce31184557361f3905e81e2ab948de976c51c7e4 Mon Sep 17 00:00:00 2001 From: Subv Date: Thu, 23 Jul 2015 18:52:57 -0500 Subject: Service/APT: Return proper parameters in GetLockHandle. Documented some APT functions This allows applets to boot. --- src/core/hle/service/apt/apt.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/core/hle/service/apt/apt.h') diff --git a/src/core/hle/service/apt/apt.h b/src/core/hle/service/apt/apt.h index 72972d05..563068d5 100644 --- a/src/core/hle/service/apt/apt.h +++ b/src/core/hle/service/apt/apt.h @@ -62,6 +62,7 @@ enum class AppletId : u32 { Extrapad = 0x208, Memolib = 0x209, Application = 0x300, + AnyLibraryApplet = 0x400, SoftwareKeyboard2 = 0x401, }; @@ -96,8 +97,26 @@ void GetSharedFont(Service::Interface* self); */ void NotifyToWait(Service::Interface* self); +/** + * APT::GetLockHandle service function + * Inputs: + * 1 : Applet attributes + * Outputs: + * 1 : Result of function, 0 on success, otherwise error code + * 2 : Applet attributes + * 3 : Power button state + * 4 : IPC handle descriptor + * 5 : APT mutex handle + */ void GetLockHandle(Service::Interface* self); +/** + * APT::Enable service function + * Inputs: + * 1 : Applet attributes + * Outputs: + * 1 : Result of function, 0 on success, otherwise error code + */ void Enable(Service::Interface* self); /** -- cgit v1.2.3