summaryrefslogtreecommitdiff
path: root/include/gba/syscall.h
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-01-31 04:29:44 -0800
committerYamaArashi <shadow962@live.com>2016-01-31 04:29:44 -0800
commit6f1c90830216227a428e60c12da7c8b7a8f01b46 (patch)
tree1200c7e03ccb10df9ea7a82938781813da4d30a2 /include/gba/syscall.h
parent179ebd2dbc75c65b41c9ccd634f356266649d13a (diff)
string_util.c
Diffstat (limited to 'include/gba/syscall.h')
-rw-r--r--include/gba/syscall.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/gba/syscall.h b/include/gba/syscall.h
new file mode 100644
index 000000000..0f4198b44
--- /dev/null
+++ b/include/gba/syscall.h
@@ -0,0 +1,10 @@
+#ifndef GUARD_GBA_SYSCALL_H
+#define GUARD_GBA_SYSCALL_H
+
+#define CPU_SET_SRC_FIXED 0x01000000
+#define CPU_SET_16BIT 0x00000000
+#define CPU_SET_32BIT 0x04000000
+
+extern void CpuSet(void *src, void *dest, u32 controlData);
+
+#endif // GUARD_GBA_SYSCALL_H