megadrive_test2

view src/debug.c @ 9:6ecf2f3ff05a

- better pad input handling - switch between 28 and 30 vertical tiles by pressing C
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 24 Jun 2017 00:33:10 +0300
parents
children ca7108a82867
line source
1 #include "debug.h"
2 #include "dbgfont.h"
4 static int init_done;
6 static void init_font(void)
7 {
8 /* TODO allocate tiles, prepare palette etc */
9 }
11 void dbg_print(const char *s)
12 {
13 if(!init_done) {
14 init_font();
15 init_done = 1;
16 }
17 }