wut v1.8.0
Wii U Toolchain
Loading...
Searching...
No Matches
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
19extern "C" {
20#endif
21
27
33WUT_CHECK_OFFSET(SysAppMiiMakerArgs, 0x0, stdArgs);
34WUT_CHECK_OFFSET(SysAppMiiMakerArgs, 0x8, slotId);
35WUT_CHECK_OFFSET(SysAppMiiMakerArgs, 0x0C, mii);
36WUT_CHECK_SIZE(SysAppMiiMakerArgs, 0x10);
37
44WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0x0, stdArgs);
45WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0x8, mode);
46WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0xC, slotId);
47WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0x10, mii);
48WUT_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
87WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x0, stdArgs);
88WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x8, jumpTo);
89WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x0C, firstBootKind);
90WUT_CHECK_SIZE(SysAppSettingsArgs, 0x10);
91
96WUT_CHECK_OFFSET(SysAppParentalArgs, 0x0, stdArgs);
97WUT_CHECK_OFFSET(SysAppParentalArgs, 0x8, mode);
98WUT_CHECK_SIZE(SysAppParentalArgs, 0x0C);
99
104WUT_CHECK_OFFSET(SysAppNotificationArgs, 0x0, stdArgs);
105WUT_CHECK_OFFSET(SysAppNotificationArgs, 0x8, notificationFile);
106WUT_CHECK_SIZE(SysAppNotificationArgs, 0x0C);
107
128void
129SYSRelaunchTitle(uint32_t argc,
130 char *pa_Argv[]);
131
139void
141
154void
155SYSLaunchTitle(uint64_t TitleId);
156
157void
159 SYSStandardArgsIn *stdArgs);
160
161void
163
167void
169
170
175void
177
181void
183
187void
189
197void
199
200void
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