From 5eb0fff07be422884c42ae465bb04f6ac3722a4d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 29 Jun 2005 02:01:24 +0000 Subject: Fixed red H1x0 simulator build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6909 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 2 ++ apps/plugin.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/plugin.c b/apps/plugin.c index bd8ea2f9a6..bd2f0bc802 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -138,7 +138,9 @@ static const struct plugin_api rockbox_api = { lcd_remote_puts, lcd_remote_puts_scroll, lcd_remote_stop_scroll, +#ifndef SIMULATOR lcd_remote_roll, +#endif lcd_remote_set_drawmode, lcd_remote_get_drawmode, lcd_remote_setfont, diff --git a/apps/plugin.h b/apps/plugin.h index b2e798d0e8..507d36d4e9 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -194,9 +194,9 @@ struct plugin_api { void (*lcd_remote_puts)(int x, int y, const unsigned char *string); void (*lcd_remote_lcd_puts_scroll)(int x, int y, const unsigned char* string); void (*lcd_remote_lcd_stop_scroll)(void); - +#ifndef SIMULATOR void (*lcd_remote_roll)(int pixels); - +#endif void (*lcd_remote_set_drawmode)(int mode); int (*lcd_remote_get_drawmode)(void); void (*lcd_remote_setfont)(int font); -- cgit v1.2.3