mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-26 23:36:37 -04:00
3.7 branch: backport r28669, fix for FS#11745 (rockboy screen on mono screens with height 64)
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_7@28671 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
72936722d7
commit
e00acb5979
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ void vid_update(int scanline)
|
||||||
scanline-=16;
|
scanline-=16;
|
||||||
else if (fb.mode==2)
|
else if (fb.mode==2)
|
||||||
scanline-=8;
|
scanline-=8;
|
||||||
scanline_remapped = scanline / 16;
|
scanline_remapped = (scanline / 16 + 7) % 8;
|
||||||
frameb = rb->lcd_framebuffer + scanline_remapped * LCD_WIDTH;
|
frameb = rb->lcd_framebuffer + scanline_remapped * LCD_WIDTH;
|
||||||
while (cnt < 160) {
|
while (cnt < 160) {
|
||||||
balance += LCD_WIDTH;
|
balance += LCD_WIDTH;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue