From: Grazvydas Ignotas Date: Sat, 27 Jul 2013 23:49:51 +0000 (+0300) Subject: rm unused preprocessor checks X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=libpicofe.git;a=commitdiff_plain;h=ebf0e111a84cbd73511cc2b935c7bd688638cf5e rm unused preprocessor checks --- diff --git a/menu.c b/menu.c index 503107f..04c0410 100644 --- a/menu.c +++ b/menu.c @@ -31,10 +31,8 @@ void *g_menuscreen_ptr; void *g_menubg_src_ptr; void *g_menubg_ptr; -#if !MSCREEN_SIZE_FIXED int g_menuscreen_w; int g_menuscreen_h; -#endif static unsigned char *menu_font_data = NULL; static int menu_text_color = 0xfffe; // default to white diff --git a/menu.h b/menu.h index dfeccce..21da7f3 100644 --- a/menu.h +++ b/menu.h @@ -112,13 +112,8 @@ extern me_bind_action emuctrl_actions[]; // platform code extern void *g_menubg_src_ptr; extern void *g_menubg_ptr; extern void *g_menuscreen_ptr; -#if MSCREEN_SIZE_FIXED -#define g_menuscreen_w MSCREEN_WIDTH -#define g_menuscreen_h MSCREEN_HEIGHT -#else extern int g_menuscreen_w; extern int g_menuscreen_h; -#endif void menu_init_base(void); void menu_update_msg(const char *msg);