File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 3535#define MIN (a ,b ) (((a)<(b))?(a):(b))
3636#define MAX (a ,b ) (((a)>(b))?(a):(b))
3737
38- #define MENU_DEBUG
38+ // #define MENU_DEBUG
3939#define MENU_ERROR
4040
4141#ifdef MENU_DEBUG
@@ -331,7 +331,7 @@ static void add_menu_zone(ENUM_MENU_TYPE menu_type)
331331 SDL_BlitSurface (text_surface , NULL , surface , & text_pos );
332332 break ;
333333#endif
334- #ifdef HAS_MENU_POWERDOWN
334+ #ifdef HAS_MENU_POWERDOWN
335335 case MENU_TYPE_POWERDOWN :
336336 MENU_DEBUG_PRINTF ("Init MENU_TYPE_POWERDOWN\n" );
337337 /// ------ Text ------
@@ -340,6 +340,10 @@ static void add_menu_zone(ENUM_MENU_TYPE menu_type)
340340 text_pos .y = surface -> h - MENU_ZONE_HEIGHT /2 - text_surface -> h /2 ;
341341 SDL_BlitSurface (text_surface , NULL , surface , & text_pos );
342342 break ;
343+ #endif
344+ #ifdef HAS_MENU_POWERDOWN
345+ case MENU_TYPE_RO_RW :
346+ break ;
343347#endif
344348 default :
345349 MENU_DEBUG_PRINTF ("Warning - In add_menu_zone, unknown MENU_TYPE: %d\n" , menu_type );
You can’t perform that action at this time.
0 commit comments