summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/lcd.c')
-rw-r--r--apps/plugins/rockboy/lcd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/lcd.c b/apps/plugins/rockboy/lcd.c
index 8cb1b7a319..16a97e3ef0 100644
--- a/apps/plugins/rockboy/lcd.c
+++ b/apps/plugins/rockboy/lcd.c
@@ -740,9 +740,11 @@ void lcd_refreshline(void)
return; /* should not happen... */
#if LCD_HEIGHT == 64
- if (R_LY >= 128 || R_LY & 1) /* calculate only even lines */
+ if ( ((fb.mode==0)&&(R_LY >= 128 || R_LY & 1)) ||
+ ((fb.mode==1)&&(R_LY < 16 || R_LY & 1))) /* calculate only even lines */
#else
- if (R_LY >= 128)
+ if ( ((fb.mode==0)&&(R_LY >= 128)) ||
+ ((fb.mode==1)&&(R_LY < 16)))
#endif
return;