blob: ce0a234c4250807354c97c81d20b093226b43e34 (
plain) (
tree)
|
|
#include <agbx-demo.h>
#include <ax/key.h>
#include <ax/gfx.h>
ax_err ax_main(void) {
axd_dat dat;
axd_initdat(&dat);
axd_initgfx();
bool const err = axd_loop(&dat);
if (err) {
for (ax_i01 px = 0x0u;px != 0x9600u;++px) {
ax_setpx1(dat.vaddr,px,dat.col);
axd_chgcol(&dat,0x1u);
}
return ax_err_max;
}
return ax_err_ok;
}
|