This commit is contained in:
2024-05-11 23:24:13 +02:00
commit e66c5afde0
130 changed files with 17039 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
package bgapputil
import "core:c"
foreign import bgapputil "system:SceBgAppUtil_stub"
/**
* Error Codes
*/
SceBgAppUtilErrorCode :: enum c.int {
SCE_BGAPP_UTIL_ERROR_INVALID_ARG = −2146409214 //0x80106502
}
@(link_prefix = "sceBgAppUtil")
foreign bgapputil {
/**
* Start BG application (eboot2.bin)
*
* @param[in] mode - must be 1
*
* @return 0 on success, <0 otherwise.
*/
StartBgApp :: proc(mode: c.int) -> c.int ---
}