1
0
Fork 0
forked from len0rd/rockbox

Added dynarec(under construction) and outline for lcd modes

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6119 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michiel Van Der Kolk 2005-03-03 19:44:02 +00:00
parent 708e357a63
commit 3921e1aa69
10 changed files with 921 additions and 29 deletions

View file

@ -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;