Correct the xoffset used when display_flipped is false - fixes the display in the main Rockbox build.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19128 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2008-11-17 20:08:09 +00:00
parent b36f6db0d6
commit de89a00cca

View file

@ -131,7 +131,7 @@ static void flip_lcd(bool yesno)
void lcd_set_flip(bool yesno) void lcd_set_flip(bool yesno)
{ {
display_flipped = yesno; display_flipped = yesno;
xoffset = yesno ? 20 : 0; /* A guess */ xoffset = yesno ? 0 : 20; /* TODO: Implement flipped mode */
if (display_on) if (display_on)
flip_lcd(yesno); flip_lcd(yesno);