1
0
Fork 0
forked from len0rd/rockbox

Fix rockboy for the H100's. Thanks for fixing the HW codec players Peter

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13708 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2007-06-25 04:26:23 +00:00
parent 3490acbfbd
commit a28d74e71c
3 changed files with 28 additions and 22 deletions

View file

@ -876,6 +876,7 @@ void lcd_begin(void)
set_pal();
#ifdef HAVE_LCD_COLOR
if(options.rotate)
{
if(options.fullscreen == 0)
@ -894,18 +895,22 @@ void lcd_begin(void)
else
vdest=fb.ptr+S1;
}
#endif
WY = R_WY;
}
#ifdef HAVE_LCD_COLOR
int SCALEWL IDATA_ATTR=1<<16;
int SCALEWS IDATA_ATTR=1<<16;
int SCALEHL IDATA_ATTR=1<<16;
int SCALEHS IDATA_ATTR=1<<16;
int swidth IDATA_ATTR=160;
int sremain IDATA_ATTR=LCD_WIDTH-160;
#endif
void setvidmode(void)
{
#ifdef HAVE_LCD_COLOR
switch(options.fullscreen)
{
case 0:
@ -972,6 +977,7 @@ void setvidmode(void)
sremain=-(((160*SCALEWL)>>16)*LCD_WIDTH+1);
else
sremain=LCD_WIDTH-swidth;
#endif
}
void lcd_refreshline(void)