From 4274ec840e263fc35f985144fd6e96ff210c8b5d Mon Sep 17 00:00:00 2001 From: GrapheneCt Date: Tue, 7 Jul 2020 07:10:20 -0400 Subject: Add psp2/bgapputil.h From https://github.com/GrapheneCt/Vita-PoC/blob/master/bgapputil.h --- include/user/bgapputil.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/user/bgapputil.h (limited to 'include/user') diff --git a/include/user/bgapputil.h b/include/user/bgapputil.h new file mode 100644 index 0000000..f35e9ad --- /dev/null +++ b/include/user/bgapputil.h @@ -0,0 +1,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_ */ -- cgit v1.2.3