forked from len0rd/rockbox
Kill a few warnings in plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12366 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f435db0107
commit
2ad25c8818
4 changed files with 5 additions and 5 deletions
|
|
@ -824,7 +824,7 @@ static signed int blackjack_get_amount(char message[20], signed int lower_limit,
|
||||||
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - 4*h - 1, message);
|
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - 4*h - 1, message);
|
||||||
rb->snprintf(str, 9, "$%d", amount);
|
rb->snprintf(str, 9, "$%d", amount);
|
||||||
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - 3*h, str);
|
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - 3*h, str);
|
||||||
#if (CONFIG_KEY == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD)
|
#if (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD)
|
||||||
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - h-2, " >>|: +1");
|
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - h-2, " >>|: +1");
|
||||||
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - 1, " |<<: -1");
|
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - 1, " |<<: -1");
|
||||||
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 + h, "SCROLL+: +10");
|
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 + h, "SCROLL+: +10");
|
||||||
|
|
|
||||||
|
|
@ -618,7 +618,7 @@ static int chopMenu(int menunum)
|
||||||
{ "Steep", -1 },
|
{ "Steep", -1 },
|
||||||
};
|
};
|
||||||
|
|
||||||
#if HAVE_LCD_COLOR
|
#ifdef HAVE_LCD_COLOR
|
||||||
rb->lcd_set_foreground(LCD_WHITE);
|
rb->lcd_set_foreground(LCD_WHITE);
|
||||||
rb->lcd_set_background(LCD_BLACK);
|
rb->lcd_set_background(LCD_BLACK);
|
||||||
#elif LCD_DEPTH == 2
|
#elif LCD_DEPTH == 2
|
||||||
|
|
@ -920,7 +920,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
||||||
#if LCD_DEPTH > 1
|
#if LCD_DEPTH > 1
|
||||||
rb->lcd_set_backdrop(NULL);
|
rb->lcd_set_backdrop(NULL);
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_LCD_COLOR
|
#ifdef HAVE_LCD_COLOR
|
||||||
rb->lcd_set_background(LCD_BLACK);
|
rb->lcd_set_background(LCD_BLACK);
|
||||||
rb->lcd_set_foreground(LCD_WHITE);
|
rb->lcd_set_foreground(LCD_WHITE);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -512,7 +512,7 @@ void W_ReadLump(int lump, void *dest)
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
#if DEBUGCACHE
|
#ifdef DEBUGCACHE
|
||||||
if(gamestate==GS_LEVEL)
|
if(gamestate==GS_LEVEL)
|
||||||
printf("Loading %s\n", lumpinfo[lump].name);
|
printf("Loading %s\n", lumpinfo[lump].name);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@ PLUGIN_HEADER
|
||||||
|
|
||||||
const struct plugin_api* rb;
|
const struct plugin_api* rb;
|
||||||
|
|
||||||
#if SIMULATOR && (CONFIG_CODEC != SWCODEC)
|
#if defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
|
||||||
#define mas_codec_readreg(x) rand()%MAX_PEAK
|
#define mas_codec_readreg(x) rand()%MAX_PEAK
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue