diff options
author | Bad Diode <bd@badd10de.dev> | 2021-06-02 20:20:23 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-06-02 20:20:23 +0200 |
commit | 215465df74a6065f4b0fdf199b8b04454520a398 (patch) | |
tree | f979791df1ae25bf7da9644ce4a0d55d3b8f8fb4 /src/main.c | |
parent | f6686f1e86927f038086023362251ebe78ce5ad6 (diff) | |
download | stepper-215465df74a6065f4b0fdf199b8b04454520a398.tar.gz stepper-215465df74a6065f4b0fdf199b8b04454520a398.zip |
Update the renderer to support a text layer
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -9,12 +9,11 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |||
9 | WITH REGARD TO THIS SOFTWARE. | 9 | WITH REGARD TO THIS SOFTWARE. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include "common.h" | 12 | #include "gba/gba.h" |
13 | // #include "text.h" | ||
14 | 13 | ||
15 | #include "interrupts.c" | ||
16 | #include "filesystem.c" | 14 | #include "filesystem.c" |
17 | #include "renderer.c" | 15 | #include "renderer.c" |
16 | // #include "text.h" | ||
18 | 17 | ||
19 | // | 18 | // |
20 | // Config parameters. | 19 | // Config parameters. |
@@ -62,6 +61,10 @@ int main(void) { | |||
62 | irq_init(); | 61 | irq_init(); |
63 | irs_set(IRQ_VBLANK, irs_stub); | 62 | irs_set(IRQ_VBLANK, irs_stub); |
64 | 63 | ||
64 | draw_pixel(10, 0, 1); | ||
65 | draw_pixel(10, 1, 2); | ||
66 | draw_pixel(10, 2, 3); | ||
67 | draw_pixel(10, 3, 4); | ||
65 | draw_pixel(0, 0, 1); | 68 | draw_pixel(0, 0, 1); |
66 | draw_pixel(0, 1, 2); | 69 | draw_pixel(0, 1, 2); |
67 | draw_pixel(0, 2, 3); | 70 | draw_pixel(0, 2, 3); |