From 215465df74a6065f4b0fdf199b8b04454520a398 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Wed, 2 Jun 2021 20:20:23 +0200 Subject: Update the renderer to support a text layer --- src/main.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index e228034..1e1ef11 100644 --- a/src/main.c +++ b/src/main.c @@ -9,12 +9,11 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE. */ -#include "common.h" -// #include "text.h" +#include "gba/gba.h" -#include "interrupts.c" #include "filesystem.c" #include "renderer.c" +// #include "text.h" // // Config parameters. @@ -62,6 +61,10 @@ int main(void) { irq_init(); irs_set(IRQ_VBLANK, irs_stub); + draw_pixel(10, 0, 1); + draw_pixel(10, 1, 2); + draw_pixel(10, 2, 3); + draw_pixel(10, 3, 4); draw_pixel(0, 0, 1); draw_pixel(0, 1, 2); draw_pixel(0, 2, 3); -- cgit v1.2.1