The blit functions shouldn't exist for the simulator.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16777 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-03-24 01:00:42 +00:00
parent c84e345e6e
commit b88c7d076d
3 changed files with 2 additions and 13 deletions

View file

@ -122,7 +122,7 @@ static const struct plugin_api rockbox_api = {
|| defined (IRIVER_H10) || defined (IRIVER_H10)
lcd_yuv_set_options, lcd_yuv_set_options,
#endif #endif
#elif (LCD_DEPTH < 4) || !defined(SIMULATOR) #elif (LCD_DEPTH < 4) && !defined(SIMULATOR)
lcd_blit_mono, lcd_blit_mono,
lcd_blit_grey_phase, lcd_blit_grey_phase,
#endif /* LCD_DEPTH */ #endif /* LCD_DEPTH */

View file

@ -201,7 +201,7 @@ struct plugin_api {
|| defined (IRIVER_H10) || defined (IRIVER_H10)
void (*lcd_yuv_set_options)(unsigned options); void (*lcd_yuv_set_options)(unsigned options);
#endif #endif
#elif (LCD_DEPTH < 4) || !defined(SIMULATOR) #elif (LCD_DEPTH < 4) && !defined(SIMULATOR)
void (*lcd_blit_mono)(const unsigned char *data, int x, int by, int width, void (*lcd_blit_mono)(const unsigned char *data, int x, int by, int width,
int bheight, int stride); int bheight, int stride);
void (*lcd_blit_grey_phase)(unsigned char *values, unsigned char *phases, void (*lcd_blit_grey_phase)(unsigned char *values, unsigned char *phases,

View file

@ -24,17 +24,6 @@
#include "lcd.h" #include "lcd.h"
#include "lcd-sdl.h" #include "lcd-sdl.h"
void lcd_blit_mono(const unsigned char *data, int x, int y, int width, int height,
int stride)
{
(void)data;
(void)x;
(void)y;
(void)width;
(void)height;
(void)stride;
}
void lcd_set_flip(bool yesno) void lcd_set_flip(bool yesno)
{ {
(void)yesno; (void)yesno;