diff --git a/src/lcd.c b/src/lcd.c index 63f7054..b6c6b99 100644 --- a/src/lcd.c +++ b/src/lcd.c @@ -17,11 +17,6 @@ static int last_annunc_state = -1; display_t display; -#if defined( GUI_IS_X11 ) -#define DISP_ROWS 64 -#define NIBS_PER_BUFFER_ROW ( NIBBLES_PER_ROW + 2 ) -#endif - unsigned char disp_buf[ DISP_ROWS ][ NIBS_PER_BUFFER_ROW ]; unsigned char lcd_buffer[ DISP_ROWS ][ NIBS_PER_BUFFER_ROW ]; diff --git a/src/x48.h b/src/x48.h index bab7a64..a5054db 100644 --- a/src/x48.h +++ b/src/x48.h @@ -98,6 +98,9 @@ #define LAST_BUTTON 48 +#define DISP_ROWS 64 +#define NIBS_PER_BUFFER_ROW ( NIBBLES_PER_ROW + 2 ) + #if defined( GUI_IS_SDL1 ) #define UPDATE_MENU 1 #define UPDATE_DISP 2 @@ -270,8 +273,6 @@ extern SDL_Surface* sdlsurface; void SDLInit( void ); void SDLDrawAnnunc( char* annunc ); -#define DISP_ROWS 64 -#define NIBS_PER_BUFFER_ROW ( NIBBLES_PER_ROW + 2 ) void SDLCreateAnnunc( void ); void SDLDrawNibble( int nx, int ny, int val );