summaryrefslogtreecommitdiff
path: root/demo/source/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo/source/main.c')
-rw-r--r--demo/source/main.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/demo/source/main.c b/demo/source/main.c
index fe75179..4c838a6 100644
--- a/demo/source/main.c
+++ b/demo/source/main.c
@@ -1,18 +1,18 @@
#include <agbx-demo.h>
-#include <agbx/key.h>
-#include <agbx/gfx.h>
+#include <ax/key.h>
+#include <ax/gfx.h>
-agbx_err agbx_main(void) {
- agbxd_dat dat;
- agbxd_initdat(&dat);
- agbxd_initgfx();
- bool const err = agbxd_loop(&dat);
+ax_err ax_main(void) {
+ axd_dat dat;
+ axd_initdat(&dat);
+ axd_initgfx();
+ bool const err = axd_loop(&dat);
if (err) {
- for (agbx_i10 px = 0x0u;px != 0x9600u;++px) {
- agbx_setpx1(dat.vaddr,px,dat.col);
- agbxd_chgcol(&dat,0x1u);
+ for (ax_i10 px = 0x0u;px != 0x9600u;++px) {
+ ax_setpx1(dat.vaddr,px,dat.col);
+ axd_chgcol(&dat,0x1u);
}
}
- return err ? agbx_err_max : agbx_err_ok;
+ return err ? ax_err_max : ax_err_ok;
}