This commit is contained in:
2024-05-11 23:24:13 +02:00
commit e66c5afde0
130 changed files with 17039 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
package mtp
import "core:c"
foreign import mtp "system:SceMtpIfDriver_stub"
@(link_prefix = "sceMtpIf")
foreign mtp {
/**
* Start MTP driver
*
* @param[in] flags - Set to 1
*
* @return 0 on success, < 0 on error.
*/
StartDriver :: proc(flags: c.int) -> c.int ---
/**
* Stop MTP driver
*
* @param[in] flags - Set to 1
*
* @return 0 on success, < 0 on error.
*/
StopDriver :: proc(flags: c.int) -> c.int ---
}