diff options
author | JamePeng <jame_peng@sina.com> | 2016-03-28 23:25:05 +0200 |
---|---|---|
committer | JamePeng <jame_peng@sina.com> | 2016-04-04 20:04:58 +0200 |
commit | af9a8258b93e4fd6a0fc1980fadfd07330d00de2 (patch) | |
tree | 77d68557293259917538b36f2eb8f5d00887dd48 /src/core/hle/service/apt/apt.h | |
parent | Append the missing function name"GetAppletInfo" to APT:A (diff) | |
download | yuzu-af9a8258b93e4fd6a0fc1980fadfd07330d00de2.tar yuzu-af9a8258b93e4fd6a0fc1980fadfd07330d00de2.tar.gz yuzu-af9a8258b93e4fd6a0fc1980fadfd07330d00de2.tar.bz2 yuzu-af9a8258b93e4fd6a0fc1980fadfd07330d00de2.tar.lz yuzu-af9a8258b93e4fd6a0fc1980fadfd07330d00de2.tar.xz yuzu-af9a8258b93e4fd6a0fc1980fadfd07330d00de2.tar.zst yuzu-af9a8258b93e4fd6a0fc1980fadfd07330d00de2.zip |
Diffstat (limited to 'src/core/hle/service/apt/apt.h')
-rw-r--r-- | src/core/hle/service/apt/apt.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/core/hle/service/apt/apt.h b/src/core/hle/service/apt/apt.h index 47a97c1a1..e4f96855b 100644 --- a/src/core/hle/service/apt/apt.h +++ b/src/core/hle/service/apt/apt.h @@ -67,6 +67,12 @@ enum class AppletId : u32 { Ed2 = 0x402, }; +enum class StartupArgumentType : u32 { + OtherApp = 0, + Restart = 1, + OtherMedia = 2, +}; + /// Send a parameter to the currently-running application, which will read it via ReceiveParameter void SendParameter(const MessageParameter& parameter); @@ -344,6 +350,17 @@ void PreloadLibraryApplet(Service::Interface* self); */ void StartLibraryApplet(Service::Interface* self); +/** +* APT::GetStartupArgument service function +* Inputs: +* 1 : Parameter Size (capped to 0x300) +* 2 : StartupArgumentType +* Outputs: +* 0 : Return header +* 1 : u8, Exists (0 = does not exist, 1 = exists) +*/ +void GetStartupArgument(Service::Interface* self); + /// Initialize the APT service void Init(); |