diff options
Diffstat (limited to 'apps/plugins/plasma.c')
-rw-r--r-- | apps/plugins/plasma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c index 3a2238bb60..9e2e3832a3 100644 --- a/apps/plugins/plasma.c +++ b/apps/plugins/plasma.c | |||
@@ -201,9 +201,9 @@ int main(void) | |||
201 | #ifdef HAVE_LCD_COLOR | 201 | #ifdef HAVE_LCD_COLOR |
202 | shades_generate(time++); /* dynamically */ | 202 | shades_generate(time++); /* dynamically */ |
203 | #if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) | 203 | #if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) |
204 | ptr = (unsigned char*)rb->lcd_framebuffer; | 204 | ptr = (unsigned char*)*rb->lcd_framebuffer; |
205 | #else | 205 | #else |
206 | ptr = rb->lcd_framebuffer; | 206 | ptr = *rb->lcd_framebuffer; |
207 | #endif | 207 | #endif |
208 | 208 | ||
209 | #else | 209 | #else |
@@ -237,7 +237,7 @@ int main(void) | |||
237 | p4-=sp4; | 237 | p4-=sp4; |
238 | #ifdef HAVE_LCD_COLOR | 238 | #ifdef HAVE_LCD_COLOR |
239 | #if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) | 239 | #if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256) |
240 | rb->lcd_blit_pal256( (unsigned char*)rb->lcd_framebuffer, | 240 | rb->lcd_blit_pal256( (unsigned char*)*rb->lcd_framebuffer, |
241 | 0,0,0,0,LCD_WIDTH,LCD_HEIGHT); | 241 | 0,0,0,0,LCD_WIDTH,LCD_HEIGHT); |
242 | #else | 242 | #else |
243 | rb->lcd_update(); | 243 | rb->lcd_update(); |