summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/user/bgapputil.h26
1 files changed, 26 insertions, 0 deletions
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_ */