wut  v1.7.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 
51 {
52  // Jumps to the Settings normally
54  // Jumps to the Internet settings
56  // Jumps to the Data Management
58  // Jumps to the TV Remote Settings
60  // Jumps to the Data/Time Settings
62  // Jumps to Country settings
64  // Starting a System Update
66  // Triggers the initial console settings screen
68  // Valid target, but jumps to the Settings normally
70  // Wipes the console without any confirmation
72  // Jumps to Quick Start Settings
74  // Jumps to TV Settings
76  // Same as \link SYS_SETTINGS_JUMP_TO_DATA_MANAGEMENT \endlink
78  // Jumps to Software Transfer Settings
81 
85  uint32_t firstBootKind;
86 };
87 WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x0, stdArgs);
88 WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x8, jumpTo);
89 WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x0C, firstBootKind);
90 WUT_CHECK_SIZE(SysAppSettingsArgs, 0x10);
91 
94  uint32_t mode;
95 };
96 WUT_CHECK_OFFSET(SysAppParentalArgs, 0x0, stdArgs);
97 WUT_CHECK_OFFSET(SysAppParentalArgs, 0x8, mode);
98 WUT_CHECK_SIZE(SysAppParentalArgs, 0x0C);
99 
103 };
104 WUT_CHECK_OFFSET(SysAppNotificationArgs, 0x0, stdArgs);
105 WUT_CHECK_OFFSET(SysAppNotificationArgs, 0x8, notificationFile);
106 WUT_CHECK_SIZE(SysAppNotificationArgs, 0x0C);
107 
128 void
129 SYSRelaunchTitle(uint32_t argc,
130  char *pa_Argv[]);
131 
139 void
141 
154 void
155 SYSLaunchTitle(uint64_t TitleId);
156 
157 void
159  SYSStandardArgsIn *stdArgs);
160 
161 void
163 
167 void
169 
170 
175 void
177 
181 void
183 
187 void
189 
197 void
199 
200 void
202  uint32_t unused);
203 
204 #ifdef __cplusplus
205 }
206 #endif
207 
SYSSettingsJumpToTarget jumpTo
Definition: launch.h:84
SYSStandardArgsIn stdArgs
Definition: launch.h:29
uint32_t mode
Definition: launch.h:40
uint32_t notificationFile
Definition: launch.h:102
FFLStoreData * mii
Definition: launch.h:31
uint32_t slotId
Definition: launch.h:30
uint32_t firstBootKind
Definition: launch.h:85
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.
SYSSettingsJumpToTarget
Definition: launch.h:51
void SYSLaunchMiiStudio(SysAppMiiMakerArgs *args)
Launch Mii Maker once the current application exits.
@ SYS_SETTINGS_JUMP_TO_QUICK_START_SETTINGS
Definition: launch.h:73
@ SYS_SETTINGS_JUMP_TO_COUNTRY
Definition: launch.h:63
@ SYS_SETTINGS_JUMP_TO_INITIAL_SETTINGS
Definition: launch.h:67
@ SYS_SETTINGS_JUMP_TO_TV_REMOTE
Definition: launch.h:59
@ SYS_SETTINGS_JUMP_TO_INTERNET
Definition: launch.h:55
@ SYS_SETTINGS_JUMP_TO_DATA_MANAGEMENT_2
Definition: launch.h:77
@ SYS_SETTINGS_JUMP_TO_DATA_MANAGEMENT
Definition: launch.h:57
@ SYS_SETTINGS_JUMP_TO_TV_CONNECTION_TYPE
Definition: launch.h:75
@ SYS_SETTINGS_JUMP_TO_WIPE_CONSOLE
Definition: launch.h:71
@ SYS_SETTINGS_JUMP_TO_SYSTEM_UPDATE
Definition: launch.h:65
@ SYS_SETTINGS_JUMP_TO_NONE
Definition: launch.h:53
@ SYS_SETTINGS_JUMP_TO_DATE_TIME
Definition: launch.h:61
@ SYS_SETTINGS_JUMP_TO_UNKNOWN
Definition: launch.h:69
@ SYS_SETTINGS_JUMP_TO_SOFTWARE_TRANSFER
Definition: launch.h:79