summaryrefslogtreecommitdiff
path: root/demo/source/initdat.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo/source/initdat.c')
-rw-r--r--demo/source/initdat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/demo/source/initdat.c b/demo/source/initdat.c
new file mode 100644
index 0000000..c9bb7af
--- /dev/null
+++ b/demo/source/initdat.c
@@ -0,0 +1,10 @@
+#include <agbx-demo.h>
+
+#include <agbx/gfx.h>
+
+void agbxd_initdat(agbxd_dat * const _dat) {
+ _dat->col = 0x2u;
+ _dat->pos.x = 0x0u;
+ _dat->pos.y = 0x0u;
+ _dat->vaddr = 0x600'0000u;
+}