projects
/
gbajam21
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tunnel rotation with lower-res scaled-up tunnel
[gbajam21]
/
src
/
debug.h
diff --git
a/src/debug.h
b/src/debug.h
index
45cc067
..
921fd12
100644
(file)
--- a/
src/debug.h
+++ b/
src/debug.h
@@
-12,6
+12,7
@@
volatile int vblperf_count;
void vblperf_setcolor(int palidx);
void vblperf_setcolor(int palidx);
+#ifdef VBLBAR
#define vblperf_begin() \
do { \
*vblperf_palptr = 0; \
#define vblperf_begin() \
do { \
*vblperf_palptr = 0; \
@@
-22,7
+23,10
@@
void vblperf_setcolor(int palidx);
do { \
*vblperf_palptr = vblperf_color[vblperf_count]; \
} while(0)
do { \
*vblperf_palptr = vblperf_color[vblperf_count]; \
} while(0)
-
+#else
+#define vblperf_begin()
+#define vblperf_end()
+#endif
void panic(void *pc, const char *fmt, ...) __attribute__((noreturn));
void panic(void *pc, const char *fmt, ...) __attribute__((noreturn));