summaryrefslogtreecommitdiff
path: root/include/user/bgapputil.h
blob: a91070f3242cfcb460ea17a2e59b47829bdf1b7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
	Vita Development Suite Libraries
*/

#ifndef _DOLCESDK_PSP2_BGAPPUTIL_H_
#define _DOLCESDK_PSP2_BGAPPUTIL_H_

#ifdef __cplusplus
extern "C" {
#endif

/**
 * Errors
 */
#define SCE_BGAPPUTIL_ERROR_INVALID_ARG ((int)0x80106501)

/**
 * Start BG application (eboot2.bin)
 *
 * @param[in] mode - must be 0
 *
 * @return 0 on success, <0 otherwise.
 */
int sceBgAppUtilStartBgApp(int mode);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* _DOLCESDK_PSP2_BGAPPUTIL_H_ */