mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	Merge pull request #492 from archshift/apt
Expose GetSharedFont and NotifyToWait to APT:A and APT:S respectively
This commit is contained in:
		@@ -11,6 +11,7 @@ namespace APT_U {
 | 
			
		||||
    extern void GetLockHandle(Service::Interface* self);
 | 
			
		||||
    extern void ReceiveParameter(Service::Interface* self);
 | 
			
		||||
    extern void GlanceParameter(Service::Interface* self);
 | 
			
		||||
    extern void GetSharedFont(Service::Interface* self);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
@@ -29,6 +30,7 @@ const Interface::FunctionInfo FunctionTable[] = {
 | 
			
		||||
    {0x000E0080, APT_U::GlanceParameter,    "GlanceParameter?"},
 | 
			
		||||
    {0x003B0040, nullptr,                   "CancelLibraryApplet?"},
 | 
			
		||||
    {0x00430040, nullptr,                   "NotifyToWait?"},
 | 
			
		||||
    {0x00440000, APT_U::GetSharedFont,      "GetSharedFont?"},
 | 
			
		||||
    {0x004B00C2, nullptr,                   "AppletUtility?"},
 | 
			
		||||
    {0x00550040, nullptr,                   "WriteInputToNsState?"},
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
@@ -20,6 +20,7 @@ namespace APT_U {
 | 
			
		||||
    extern void Initialize(Service::Interface* self);
 | 
			
		||||
    extern void Enable(Service::Interface* self);
 | 
			
		||||
    extern void InquireNotification(Service::Interface* self);
 | 
			
		||||
    extern void NotifyToWait(Service::Interface* self);
 | 
			
		||||
    extern void GetSharedFont(Service::Interface* self);
 | 
			
		||||
    extern void AppletUtility(Service::Interface* self);
 | 
			
		||||
    extern void GlanceParameter(Service::Interface* self);
 | 
			
		||||
@@ -95,7 +96,7 @@ const Interface::FunctionInfo FunctionTable[] = {
 | 
			
		||||
    {0x00400042, nullptr,                      "SendCaptureBufferInfo"},
 | 
			
		||||
    {0x00410040, nullptr,                      "ReceiveCaptureBufferInfo"},
 | 
			
		||||
    {0x00420080, nullptr,                      "SleepSystem"},
 | 
			
		||||
    {0x00430040, nullptr,                      "NotifyToWait"},
 | 
			
		||||
    {0x00430040, APT_U::NotifyToWait,          "NotifyToWait"},
 | 
			
		||||
    {0x00440000, APT_U::GetSharedFont,         "GetSharedFont"},
 | 
			
		||||
    {0x00450040, nullptr,                      "GetWirelessRebootInfo"},
 | 
			
		||||
    {0x00460104, nullptr,                      "Wrap"},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user