Files
vitasdk-odin/BgAppUtil/BgAppUtil.odin
T
2024-05-11 23:24:13 +02:00

25 lines
446 B
Odin
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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 ---
}