summaryrefslogtreecommitdiff
path: root/include/user/bgapputil.h
blob: f35e9adcf74e84ab385d86f282f334c3e8129f60 (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
#ifndef _DOLCESDK_PSP2_BGAPPUTIL_H_
#define _DOLCESDK_PSP2_BGAPPUTIL_H_

#ifdef __cplusplus
extern "C" {
#endif

/**
 * Errors
 */
#define SCE_BGAPPUTIL_ERROR_INVALID_ARG 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_ */