mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
b36f6db0d6
commit
de89a00cca
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ static void flip_lcd(bool yesno)
|
|||
void lcd_set_flip(bool yesno)
|
||||
{
|
||||
display_flipped = yesno;
|
||||
xoffset = yesno ? 20 : 0; /* A guess */
|
||||
xoffset = yesno ? 0 : 20; /* TODO: Implement flipped mode */
|
||||
|
||||
if (display_on)
|
||||
flip_lcd(yesno);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue