forked from len0rd/rockbox
Remove a bunch of build conditions inside .c files
Fix logic in pacbox makefiles for asm optimizations git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27887 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7014faee69
commit
5615881955
11 changed files with 3 additions and 39 deletions
|
@ -22,8 +22,6 @@
|
|||
#include "plugin.h"
|
||||
#include "checkbox.h"
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
||||
/*
|
||||
* Print a checkbox
|
||||
*/
|
||||
|
@ -42,5 +40,3 @@ void checkbox(int x, int y, int width, int height, bool checked)
|
|||
rb->lcd_drawline(x + 2, y + height - 2 - 1, x + width - 2 - 1, y + 2);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SIMULATOR
|
||||
#include "plugin.h"
|
||||
#include "overlay.h"
|
||||
|
||||
|
@ -109,4 +108,3 @@ enum plugin_status run_overlay(const void* parameter,
|
|||
*(header.api) = rb;
|
||||
return header.entry_point(parameter);
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
|
||||
#include "plugin.h"
|
||||
|
||||
#ifdef HAVE_LCD_CHARCELLS /* Player only :) */
|
||||
#include "playergfx.h"
|
||||
|
||||
/*** globals ***/
|
||||
|
@ -525,5 +524,3 @@ void pgfx_bitmap(const unsigned char *src, int x, int y, int width, int height)
|
|||
{
|
||||
pgfx_bitmap_part(src, 0, 0, width, x, y, width, height);
|
||||
}
|
||||
|
||||
#endif /* HAVE_LCD_CHARCELLS */
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
|
||||
#include "plugin.h"
|
||||
|
||||
#ifdef HAVE_TOUCHSCREEN
|
||||
|
||||
#include "pluginlib_touchscreen.h"
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -245,5 +243,3 @@ struct ts_raster_button_result touchscreen_raster_map_button(struct ts_raster_bu
|
|||
map->_prev_btn_state = button;
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif /* HAVE_TOUCHSCREEN */
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
#include "plugin.h"
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
#include "xlcd.h"
|
||||
|
||||
#if (LCD_DEPTH == 2) && (LCD_PIXELFORMAT == VERTICAL_INTERLEAVED)
|
||||
|
@ -754,5 +753,3 @@ void xlcd_scroll_down(int count)
|
|||
|
||||
#endif /* LCD_PIXELFORMAT, LCD_DEPTH */
|
||||
#endif /* defined(LCD_STRIDEFORMAT) && LCD_STRIDEFORMAT == VERTICAL_STRIDE */
|
||||
|
||||
#endif /* HAVE_LCD_BITMAP */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue