wut v1.9.1
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 "nn/ffl/miidata.h"
6#include "switch.h"
7
18#ifdef __cplusplus
19extern "C" {
20#endif
21
27
34WUT_CHECK_OFFSET(SysAppMiiMakerArgs, 0x0, stdArgs);
35WUT_CHECK_OFFSET(SysAppMiiMakerArgs, 0x8, slotId);
36WUT_CHECK_OFFSET(SysAppMiiMakerArgs, 0x0C, mii);
37WUT_CHECK_SIZE(SysAppMiiMakerArgs, 0x10);
38
46WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0x0, stdArgs);
47WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0x8, mode);
48WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0xC, slotId);
49WUT_CHECK_OFFSET(_SysAppMiiMakerArgs, 0x10, mii);
50WUT_CHECK_SIZE(_SysAppMiiMakerArgs, 0x14);
51
53{
54 // Jumps to the Settings normally
56 // Jumps to the Internet settings
58 // Jumps to the Data Management
60 // Jumps to the TV Remote Settings
62 // Jumps to the Data/Time Settings
64 // Jumps to Country settings
66 // Starting a System Update
68 // Triggers the initial console settings screen
70 // Valid target, but jumps to the Settings normally
72 // Wipes the console without any confirmation
74 // Jumps to Quick Start Settings
76 // Jumps to TV Settings
78 // Same as \link SYS_SETTINGS_JUMP_TO_DATA_MANAGEMENT \endlink
80 // Jumps to Software Transfer Settings
83
90WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x0, stdArgs);
91WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x8, jumpTo);
92WUT_CHECK_OFFSET(SysAppSettingsArgs, 0x0C, firstBootKind);
93WUT_CHECK_SIZE(SysAppSettingsArgs, 0x10);
94
100WUT_CHECK_OFFSET(SysAppParentalArgs, 0x0, stdArgs);
101WUT_CHECK_OFFSET(SysAppParentalArgs, 0x8, mode);
102WUT_CHECK_SIZE(SysAppParentalArgs, 0x0C);
103
109WUT_CHECK_OFFSET(SysAppNotificationArgs, 0x0, stdArgs);
110WUT_CHECK_OFFSET(SysAppNotificationArgs, 0x8, notificationFile);
111WUT_CHECK_SIZE(SysAppNotificationArgs, 0x0C);
112
133void
134SYSRelaunchTitle(uint32_t argc,
135 char *pa_Argv[]);
136
144void
146
159void
160SYSLaunchTitle(uint64_t TitleId);
161
162void
164 SYSStandardArgsIn *stdArgs);
165
166void
168
172void
174
175
180void
182
186void
188
192void
194
202void
204
205void
207 uint32_t unused);
208
209#ifdef __cplusplus
210}
211#endif
212
SYSSettingsJumpToTarget jumpTo
Definition launch.h:87
SYSStandardArgsIn stdArgs
Definition launch.h:30
uint32_t mode
Definition launch.h:42
uint32_t notificationFile
Definition launch.h:107
FFLStoreData * mii
Definition launch.h:32
uint32_t slotId
Definition launch.h:31
uint32_t firstBootKind
Definition launch.h:88
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:53
void SYSLaunchMiiStudio(SysAppMiiMakerArgs *args)
Launch Mii Maker once the current application exits.
@ SYS_SETTINGS_JUMP_TO_QUICK_START_SETTINGS
Definition launch.h:75
@ SYS_SETTINGS_JUMP_TO_COUNTRY
Definition launch.h:65
@ SYS_SETTINGS_JUMP_TO_INITIAL_SETTINGS
Definition launch.h:69
@ SYS_SETTINGS_JUMP_TO_TV_REMOTE
Definition launch.h:61
@ SYS_SETTINGS_JUMP_TO_INTERNET
Definition launch.h:57
@ SYS_SETTINGS_JUMP_TO_DATA_MANAGEMENT_2
Definition launch.h:79
@ SYS_SETTINGS_JUMP_TO_DATA_MANAGEMENT
Definition launch.h:59
@ SYS_SETTINGS_JUMP_TO_TV_CONNECTION_TYPE
Definition launch.h:77
@ SYS_SETTINGS_JUMP_TO_WIPE_CONSOLE
Definition launch.h:73
@ SYS_SETTINGS_JUMP_TO_SYSTEM_UPDATE
Definition launch.h:67
@ SYS_SETTINGS_JUMP_TO_NONE
Definition launch.h:55
@ SYS_SETTINGS_JUMP_TO_DATE_TIME
Definition launch.h:63
@ SYS_SETTINGS_JUMP_TO_UNKNOWN
Definition launch.h:71
@ SYS_SETTINGS_JUMP_TO_SOFTWARE_TRANSFER
Definition launch.h:81