summaryrefslogtreecommitdiff
path: root/include/user/bgapputil.h
diff options
context:
space:
mode:
authorGrapheneCt2020-07-07 07:10:20 -0400
committerReiko Asakura2020-07-07 07:12:15 -0400
commit4274ec840e263fc35f985144fd6e96ff210c8b5d (patch)
treeecc0fcfc2de42c82c533ca20c519de6d6df15f34 /include/user/bgapputil.h
parentAdd psp2/trigger_util.h (diff)
downloadvds-libraries-4274ec840e263fc35f985144fd6e96ff210c8b5d.tar.gz
Add psp2/bgapputil.h
From https://github.com/GrapheneCt/Vita-PoC/blob/master/bgapputil.h
Diffstat (limited to 'include/user/bgapputil.h')
-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_ */