summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/rockboy/sys_rockbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/sys_rockbox.c b/apps/plugins/rockboy/sys_rockbox.c
index 7148c8c2b1..0bed7f8de6 100644
--- a/apps/plugins/rockboy/sys_rockbox.c
+++ b/apps/plugins/rockboy/sys_rockbox.c
@@ -236,7 +236,7 @@ void vid_update(int scanline)
236 scanline-=16; 236 scanline-=16;
237 else if (fb.mode==2) 237 else if (fb.mode==2)
238 scanline-=8; 238 scanline-=8;
239 scanline_remapped = scanline / 16; 239 scanline_remapped = (scanline / 16 + 7) % 8;
240 frameb = rb->lcd_framebuffer + scanline_remapped * LCD_WIDTH; 240 frameb = rb->lcd_framebuffer + scanline_remapped * LCD_WIDTH;
241 while (cnt < 160) { 241 while (cnt < 160) {
242 balance += LCD_WIDTH; 242 balance += LCD_WIDTH;