diff options
Diffstat (limited to 'apps/plugins/fire.c')
-rw-r--r-- | apps/plugins/fire.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/plugins/fire.c b/apps/plugins/fire.c index 478296b5f8..4fc30173da 100644 --- a/apps/plugins/fire.c +++ b/apps/plugins/fire.c | |||
@@ -100,20 +100,20 @@ static void color_palette_init(fb_data* palette) | |||
100 | int i; | 100 | int i; |
101 | for (i = 0; i < 32; i++){ | 101 | for (i = 0; i < 32; i++){ |
102 | /* black to blue, 32 values*/ | 102 | /* black to blue, 32 values*/ |
103 | palette[i]=LCD_RGBPACK(0, 0, 2*i); | 103 | palette[i]=FB_RGBPACK(0, 0, 2*i); |
104 | 104 | ||
105 | /* blue to red, 32 values*/ | 105 | /* blue to red, 32 values*/ |
106 | palette[i + 32]=LCD_RGBPACK(8*i, 0, 64 - 2*i); | 106 | palette[i + 32]=FB_RGBPACK(8*i, 0, 64 - 2*i); |
107 | 107 | ||
108 | /* red to yellow, 32 values*/ | 108 | /* red to yellow, 32 values*/ |
109 | palette[i + 64]=LCD_RGBPACK(255, 8*i, 0); | 109 | palette[i + 64]=FB_RGBPACK(255, 8*i, 0); |
110 | 110 | ||
111 | /* yellow to white, 162 values */ | 111 | /* yellow to white, 162 values */ |
112 | palette[i + 96]=LCD_RGBPACK(255, 255, 0 + 4*i); | 112 | palette[i + 96]=FB_RGBPACK(255, 255, 0 + 4*i); |
113 | palette[i + 128]=LCD_RGBPACK(255, 255, 64 + 4*i); | 113 | palette[i + 128]=FB_RGBPACK(255, 255, 64 + 4*i); |
114 | palette[i + 160]=LCD_RGBPACK(255, 255, 128 + 4*i); | 114 | palette[i + 160]=FB_RGBPACK(255, 255, 128 + 4*i); |
115 | palette[i + 192]=LCD_RGBPACK(255, 255, 192 + i); | 115 | palette[i + 192]=FB_RGBPACK(255, 255, 192 + i); |
116 | palette[i + 224]=LCD_RGBPACK(255, 255, 224 + i); | 116 | palette[i + 224]=FB_RGBPACK(255, 255, 224 + i); |
117 | } | 117 | } |
118 | #if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) | 118 | #if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) |
119 | rb->lcd_pal256_update_pal(palette); | 119 | rb->lcd_pal256_update_pal(palette); |