2vbl tunnel! 30fps
[gbajam21] / src / debug.h
index 844b465..45cc067 100644 (file)
@@ -10,8 +10,7 @@ extern uint16_t vblperf_color[];
 uint16_t *vblperf_palptr;
 volatile int vblperf_count;
 
-void vblperf_start(int palidx);
-void vblperf_stop(void);
+void vblperf_setcolor(int palidx);
 
 #define vblperf_begin()        \
        do { \
@@ -25,7 +24,7 @@ void vblperf_stop(void);
        } while(0)
 
 
-void panic(uint32_t pc, const char *fmt, ...);
+void panic(void *pc, const char *fmt, ...) __attribute__((noreturn));
 
 void dbg_drawglyph(int x, int y, int c);
 int dbg_drawstr(int x, int y, const char *fmt, ...);