summaryrefslogtreecommitdiffstats
path: root/apps/plugins/rockboy/lcd.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-10-26 14:11:38 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2020-10-26 14:35:30 -0400
commitada919fc1122c314b239212a40d15c5ab131becd (patch)
treeb5548c421e1b22c02a0c053a6db97e650eb7f139 /apps/plugins/rockboy/lcd.c
parent9b295ce13577b5e2c2c7c122d1325a02d4569320 (diff)
downloadrockbox-ada919fc11.tar.gz
rockbox-ada919fc11.tar.bz2
rockbox-ada919fc11.zip
FIX RED framebuffer viewport rewrite
Change-Id: I4cb8f580e15440d06f8d5fabb2fbf5147c67b49c
Diffstat (limited to 'apps/plugins/rockboy/lcd.c')
-rw-r--r--apps/plugins/rockboy/lcd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/lcd.c b/apps/plugins/rockboy/lcd.c
index 92db851ee8..c53df5ce01 100644
--- a/apps/plugins/rockboy/lcd.c
+++ b/apps/plugins/rockboy/lcd.c
@@ -885,6 +885,9 @@ void lcd_refreshline(void)
return;
#endif
+#if defined(HAVE_LCD_MODES) && (HAVE_LCD_MODES & LCD_MODE_PAL256)
+ fb_data *lcd_fb = get_framebuffer();
+#endif
updatepatpix();
L = R_LY;