wut  v1.5.0
Wii U Toolchain
launch.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wut.h>
4 #include "args.h"
5 #include "switch.h"
6 #include "nn/ffl/miidata.h"
7 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
27 
30  uint32_t slotId;
32 };
33 WUT_CHECK_OFFSET(SysAppMiiMakerArgs, 0x0, stdArgs);
34 WUT_CHECK_OFFSET(SysAppMiiMakerArgs, 0x8, slotId);
35 WUT_CHECK_OFFSET(SysAppMiiMakerArgs, 0x0C, mii);
36 WUT_CHECK_SIZE(SysAppMiiMakerArgs, 0x10);
37 
40  uint32_t mode;
41  uint32_t slotId;
43 };
44 WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0x0, stdArgs);
45 WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0x8, mode);
46 WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0xC, slotId);
47 WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0x10, mii);
48 WUT_CHECK_SIZE(_SysAppMiiMakerArgs, 0x14);
49 
52  int32_t jumpTo;
53  uint32_t firstBootKind;
54 };
55 WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x0, stdArgs);
56 WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x8, jumpTo);
57 WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x0C, firstBootKind);
58 WUT_CHECK_SIZE(SysAppSettingsArgs, 0x10);
59 
62  uint32_t mode;
63 };
64 WUT_CHECK_OFFSET(SysAppParentalArgs, 0x0, stdArgs);
65 WUT_CHECK_OFFSET(SysAppParentalArgs, 0x8, mode);
66 WUT_CHECK_SIZE(SysAppParentalArgs, 0x0C);
67 
70  uint32_t notificationFile;
71 };
72 WUT_CHECK_OFFSET(SysAppNotificationArgs, 0x0, stdArgs);
73 WUT_CHECK_OFFSET(SysAppNotificationArgs, 0x8, notificationFile);
74 WUT_CHECK_SIZE(SysAppNotificationArgs, 0x0C);
75 
96 void
97 SYSRelaunchTitle(uint32_t argc,
98  char *pa_Argv[]);
99 
107 void
109 
122 void
123 SYSLaunchTitle(uint64_t TitleId);
124 
125 void
127  SYSStandardArgsIn *stdArgs);
128 
129 void
131 
135 void
137 
138 
143 void
145 
149 void
151 
155 void
157 
165 void
167 
168 void
170  uint32_t unused);
171 
172 #ifdef __cplusplus
173 }
174 #endif
175 
SYSStandardArgsIn stdArgs
Definition: launch.h:29
uint32_t mode
Definition: launch.h:40
uint32_t notificationFile
Definition: launch.h:70
FFLStoreData * mii
Definition: launch.h:31
uint32_t slotId
Definition: launch.h:30
uint32_t firstBootKind
Definition: launch.h:53
int32_t jumpTo
Definition: launch.h:52
void SYSLaunchMenu()
Launches the HOME menu when the current application exits, and requests the application exit immediat...
void _SYSLaunchSettings(SysAppSettingsArgs *args)
Launch System Settings once the current application exits.
void _SYSLaunchMiiStudio(_SysAppMiiMakerArgs *args)
Launch Mii Maker once the current application exits.
void _SYSLaunchTitleWithStdArgsInNoSplash(uint64_t titleId, SYSStandardArgsIn *stdArgs)
void _SYSLaunchMenuWithCheckingAccount(uint8_t slot)
void SYSRelaunchTitle(uint32_t argc, char *pa_Argv[])
Restarts the current title with new arguments once the running application quits, and requests the ap...
void SYSLaunchTitle(uint64_t TitleId)
Launch the given title ID once the current application exits, and requests the application exit immed...
void _SYSLaunchNotifications(SysAppNotificationArgs *args)
Launch Notifications once the current application exits.
void _SYSLaunchTitleByPathFromLauncher(const char *path, uint32_t unused)
void _SYSLaunchParental(SysAppParentalArgs *args)
Launch Parental Controls once the current application exits.
void SYSLaunchMiiStudio(SysAppMiiMakerArgs *args)
Launch Mii Maker once the current application exits.