RetroArch
wii
libogc
include
ogc
wiilaunch.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------
2
3
wiilaunch.h -- Wii NAND title launching and argument passing
4
5
Copyright (C) 2008
6
Hector Martin (marcan)
7
8
This software is provided 'as-is', without any express or implied
9
warranty. In no event will the authors be held liable for any
10
damages arising from the use of this software.
11
12
Permission is granted to anyone to use this software for any
13
purpose, including commercial applications, and to alter it and
14
redistribute it freely, subject to the following restrictions:
15
16
1. The origin of this software must not be misrepresented; you
17
must not claim that you wrote the original software. If you use
18
this software in a product, an acknowledgment in the product
19
documentation would be appreciated but is not required.
20
21
2. Altered source versions must be plainly marked as such, and
22
must not be misrepresented as being the original software.
23
24
3. This notice may not be removed or altered from any source
25
distribution.
26
27
-------------------------------------------------------------*/
28
29
#if defined(HW_RVL)
30
31
#ifndef __WIILAUNCH_H__
32
#define __WIILAUNCH_H__
33
34
#include <
gctypes.h
>
35
#include <
gcutil.h
>
36
37
// not initialized
38
#define WII_ENOTINIT -0x9001
39
// internal error
40
#define WII_EINTERNAL -0x9002
41
// checksum error
42
#define WII_ECHECKSUM -0x9003
43
// required title not installed
44
#define WII_EINSTALL -0x9004
45
// argument list too big
46
#define WII_E2BIG -0x9005
47
48
// you probably shouldn't use anything not in this list, since those may change
49
// these are guaranteed to exist because Nintendo hardcodes them
50
// any category not on this list will cause a hang when the settings menu tries to do the animation
51
// however, settings items contained in one of the following categories will work
52
// nonexistent items will cause a 404
53
#define SETTINGS_CALENDAR "Calendar/Calendar_index.html"
54
#define SETTINGS_DISPLAY "Display/Display_index.html"
55
#define SETTINGS_SOUND "Sound/Sound_index.html"
56
#define SETTINGS_PARENTAL "Parental_Control/Parental_Control_index.html"
57
#define SETTINGS_INTERNET "Internet/Internet_index.html"
58
#define SETTINGS_WC24 "WiiConnect24/Wiiconnect24_index.html"
59
#define SETTINGS_UPDATE "Update/Update_index.html"
60
61
#ifdef __cplusplus
62
extern
"C"
{
63
#endif
/* __cplusplus */
64
65
s32
WII_Initialize(
void
);
66
s32
WII_ReturnToMenu(
void
);
67
s32
WII_ReturnToSettings(
void
);
68
s32
WII_ReturnToSettingsPage(
const
char
*page);
69
s32
WII_LaunchTitle(
u64
titleID);
70
s32
WII_LaunchTitleWithArgs(
u64
titleID,
int
launchcode, ...);
71
s32
WII_OpenURL(
const
char
*url);
72
73
#ifdef __cplusplus
74
}
75
#endif
/* __cplusplus */
76
77
#endif
78
79
#endif
s32
int32_t s32
32bit signed integer
Definition:
gctypes.h:24
gctypes.h
Data type definitions.
gcutil.h
u64
uint64_t u64
64bit unsigned integer
Definition:
gctypes.h:20
Generated by
1.8.15