diff options
author | Moshe Piekarski <dev.rockbox@melachim.net> | 2020-10-06 13:34:04 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-10-26 12:28:48 -0400 |
commit | 12f3ed1699d6bef25bed90ba95cbcc1a6bb4934a (patch) | |
tree | cb9850c2c4ea68b7acc816828c4d53dd7c8391f9 /apps/plugins/fire.c | |
parent | 5d5f8169b53fc989b456b0f0d7940bcf9415cbeb (diff) | |
download | rockbox-12f3ed1699d6bef25bed90ba95cbcc1a6bb4934a.tar.gz rockbox-12f3ed1699d6bef25bed90ba95cbcc1a6bb4934a.zip |
make the plugin API frambuffer agnostic
Change-Id: I5abdc231093054c517ff53b9a456997e440e3f6e
Diffstat (limited to 'apps/plugins/fire.c')
-rw-r--r-- | apps/plugins/fire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/fire.c b/apps/plugins/fire.c index fe76cac822..95edbf37c4 100644 --- a/apps/plugins/fire.c +++ b/apps/plugins/fire.c | |||
@@ -251,7 +251,7 @@ static inline void fire_draw(struct fire* fire) | |||
251 | #ifndef HAVE_LCD_COLOR | 251 | #ifndef HAVE_LCD_COLOR |
252 | dest = draw_buffer; | 252 | dest = draw_buffer; |
253 | #else | 253 | #else |
254 | dest = rb->lcd_framebuffer + LCD_WIDTH * y + FIRE_XPOS; | 254 | dest = *rb->lcd_framebuffer + LCD_WIDTH * y + FIRE_XPOS; |
255 | #endif | 255 | #endif |
256 | end = dest + FIRE_WIDTH; | 256 | end = dest + FIRE_WIDTH; |
257 | 257 | ||