diff --git a/jeznes.c b/jeznes.c index db0a129..a18514d 100644 --- a/jeznes.c +++ b/jeznes.c @@ -112,11 +112,9 @@ void main(void) { } } -#if DEBUG #if DRAW_GRAY_LINE // For debugging, render a line indicating how much CPU is used. gray_line(); -#endif #endif } } diff --git a/jeznes.h b/jeznes.h index 6276df2..aa74499 100644 --- a/jeznes.h +++ b/jeznes.h @@ -56,9 +56,13 @@ #define GAME_OVER_CURSOR_QUIT_Y 0xd0 // These macros enable various debugging features and should probably be turned off before release -#define DEBUG 1 +#define DEBUG 0 + +// DEBUG macro gates all the debug features +#if DEBUG #define DRAW_GRAY_LINE 1 #define DRAW_BALL_NEAREST_TILE_HIGHLIGHT 1 +#endif enum { GAME_STATE_TITLE,