From ebf0e111a84cbd73511cc2b935c7bd688638cf5e Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sun, 28 Jul 2013 02:49:51 +0300 Subject: [PATCH] rm unused preprocessor checks --- menu.c | 2 -- menu.h | 5 ----- 2 files changed, 7 deletions(-) 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); -- 2.39.2