diff options
| -rw-r--r-- | src/core/hle/service/apt/apt.h | 16 | ||||
| -rw-r--r-- | src/core/hle/service/apt/apt_a.cpp | 5 | ||||
| -rw-r--r-- | src/core/hle/service/apt/apt_s.cpp | 8 |
3 files changed, 16 insertions, 13 deletions
diff --git a/src/core/hle/service/apt/apt.h b/src/core/hle/service/apt/apt.h index e4f96855b..668b4a66f 100644 --- a/src/core/hle/service/apt/apt.h +++ b/src/core/hle/service/apt/apt.h | |||
| @@ -351,14 +351,14 @@ void PreloadLibraryApplet(Service::Interface* self); | |||
| 351 | void StartLibraryApplet(Service::Interface* self); | 351 | void StartLibraryApplet(Service::Interface* self); |
| 352 | 352 | ||
| 353 | /** | 353 | /** |
| 354 | * APT::GetStartupArgument service function | 354 | * APT::GetStartupArgument service function |
| 355 | * Inputs: | 355 | * Inputs: |
| 356 | * 1 : Parameter Size (capped to 0x300) | 356 | * 1 : Parameter Size (capped to 0x300) |
| 357 | * 2 : StartupArgumentType | 357 | * 2 : StartupArgumentType |
| 358 | * Outputs: | 358 | * Outputs: |
| 359 | * 0 : Return header | 359 | * 0 : Return header |
| 360 | * 1 : u8, Exists (0 = does not exist, 1 = exists) | 360 | * 1 : u8, Exists (0 = does not exist, 1 = exists) |
| 361 | */ | 361 | */ |
| 362 | void GetStartupArgument(Service::Interface* self); | 362 | void GetStartupArgument(Service::Interface* self); |
| 363 | 363 | ||
| 364 | /// Initialize the APT service | 364 | /// Initialize the APT service |
diff --git a/src/core/hle/service/apt/apt_a.cpp b/src/core/hle/service/apt/apt_a.cpp index c0bbf7dd4..9ff47701a 100644 --- a/src/core/hle/service/apt/apt_a.cpp +++ b/src/core/hle/service/apt/apt_a.cpp | |||
| @@ -13,9 +13,10 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 13 | {0x00020080, Initialize, "Initialize?"}, | 13 | {0x00020080, Initialize, "Initialize?"}, |
| 14 | {0x00030040, Enable, "Enable?"}, | 14 | {0x00030040, Enable, "Enable?"}, |
| 15 | {0x00040040, nullptr, "Finalize?"}, | 15 | {0x00040040, nullptr, "Finalize?"}, |
| 16 | {0x00050040, nullptr, "GetAppletManInfo?"}, | 16 | {0x00050040, GetAppletManInfo, "GetAppletManInfo"}, |
| 17 | {0x00060040, GetAppletInfo, "GetAppletInfo"}, | 17 | {0x00060040, GetAppletInfo, "GetAppletInfo"}, |
| 18 | {0x00090040, IsRegistered, "IsRegistered"}, | 18 | {0x00090040, IsRegistered, "IsRegistered"}, |
| 19 | {0x000B0040, InquireNotification, "InquireNotification"}, | ||
| 19 | {0x000C0104, SendParameter, "SendParameter"}, | 20 | {0x000C0104, SendParameter, "SendParameter"}, |
| 20 | {0x000D0080, ReceiveParameter, "ReceiveParameter"}, | 21 | {0x000D0080, ReceiveParameter, "ReceiveParameter"}, |
| 21 | {0x000E0080, GlanceParameter, "GlanceParameter"}, | 22 | {0x000E0080, GlanceParameter, "GlanceParameter"}, |
| @@ -28,6 +29,8 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 28 | {0x00430040, NotifyToWait, "NotifyToWait?"}, | 29 | {0x00430040, NotifyToWait, "NotifyToWait?"}, |
| 29 | {0x00440000, GetSharedFont, "GetSharedFont?"}, | 30 | {0x00440000, GetSharedFont, "GetSharedFont?"}, |
| 30 | {0x004B00C2, AppletUtility, "AppletUtility?"}, | 31 | {0x004B00C2, AppletUtility, "AppletUtility?"}, |
| 32 | {0x004F0080, SetAppCpuTimeLimit, "SetAppCpuTimeLimit"}, | ||
| 33 | {0x00500040, GetAppCpuTimeLimit, "GetAppCpuTimeLimit"}, | ||
| 31 | {0x00510080, GetStartupArgument, "GetStartupArgument"}, | 34 | {0x00510080, GetStartupArgument, "GetStartupArgument"}, |
| 32 | {0x00550040, nullptr, "WriteInputToNsState?"}, | 35 | {0x00550040, nullptr, "WriteInputToNsState?"}, |
| 33 | }; | 36 | }; |
diff --git a/src/core/hle/service/apt/apt_s.cpp b/src/core/hle/service/apt/apt_s.cpp index b978b8f67..ca54e593c 100644 --- a/src/core/hle/service/apt/apt_s.cpp +++ b/src/core/hle/service/apt/apt_s.cpp | |||
| @@ -13,8 +13,8 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 13 | {0x00020080, Initialize, "Initialize"}, | 13 | {0x00020080, Initialize, "Initialize"}, |
| 14 | {0x00030040, Enable, "Enable"}, | 14 | {0x00030040, Enable, "Enable"}, |
| 15 | {0x00040040, nullptr, "Finalize"}, | 15 | {0x00040040, nullptr, "Finalize"}, |
| 16 | {0x00050040, nullptr, "GetAppletManInfo"}, | 16 | {0x00050040, GetAppletManInfo, "GetAppletManInfo"}, |
| 17 | {0x00060040, nullptr, "GetAppletInfo"}, | 17 | {0x00060040, GetAppletInfo, "GetAppletInfo"}, |
| 18 | {0x00070000, nullptr, "GetLastSignaledAppletId"}, | 18 | {0x00070000, nullptr, "GetLastSignaledAppletId"}, |
| 19 | {0x00080000, nullptr, "CountRegisteredApplet"}, | 19 | {0x00080000, nullptr, "CountRegisteredApplet"}, |
| 20 | {0x00090040, nullptr, "IsRegistered"}, | 20 | {0x00090040, nullptr, "IsRegistered"}, |
| @@ -87,8 +87,8 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 87 | {0x004C0000, nullptr, "SetFatalErrDispMode"}, | 87 | {0x004C0000, nullptr, "SetFatalErrDispMode"}, |
| 88 | {0x004D0080, nullptr, "GetAppletProgramInfo"}, | 88 | {0x004D0080, nullptr, "GetAppletProgramInfo"}, |
| 89 | {0x004E0000, nullptr, "HardwareResetAsync"}, | 89 | {0x004E0000, nullptr, "HardwareResetAsync"}, |
| 90 | {0x004F0080, nullptr, "SetApplicationCpuTimeLimit"}, | 90 | {0x004F0080, SetAppCpuTimeLimit, "SetAppCpuTimeLimit"}, |
| 91 | {0x00500040, nullptr, "GetApplicationCpuTimeLimit"}, | 91 | {0x00500040, GetAppCpuTimeLimit, "GetAppCpuTimeLimit"}, |
| 92 | {0x00510080, GetStartupArgument, "GetStartupArgument"}, | 92 | {0x00510080, GetStartupArgument, "GetStartupArgument"}, |
| 93 | {0x00520104, nullptr, "Wrap1"}, | 93 | {0x00520104, nullptr, "Wrap1"}, |
| 94 | {0x00530104, nullptr, "Unwrap1"}, | 94 | {0x00530104, nullptr, "Unwrap1"}, |