diff options
| author | Michiel Van Der Kolk <not.valid@email.address> | 2005-03-03 19:44:02 +0000 |
|---|---|---|
| committer | Michiel Van Der Kolk <not.valid@email.address> | 2005-03-03 19:44:02 +0000 |
| commit | 3921e1aa6979163c2a07122dff49f6afef977a94 (patch) | |
| tree | 9fc5cc461759e012a3fb6eecf55874a29a9eaebf /apps/plugins/rockboy/lcd.c | |
| parent | 708e357a6351045f450be4ad28823463be161b6d (diff) | |
| download | rockbox-3921e1aa6979163c2a07122dff49f6afef977a94.zip rockbox-3921e1aa6979163c2a07122dff49f6afef977a94.tar.gz rockbox-3921e1aa6979163c2a07122dff49f6afef977a94.tar.bz2 rockbox-3921e1aa6979163c2a07122dff49f6afef977a94.tar.xz | |
Added dynarec(under construction) and outline for lcd modes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6119 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/lcd.c')
| -rw-r--r-- | apps/plugins/rockboy/lcd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/lcd.c b/apps/plugins/rockboy/lcd.c index 8cb1b7a..16a97e3 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; |