mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-10 13:42:29 -05:00
Pacbox: Fix assumption about LCD width of 128 implying the display needs vertical clipping. No more screen garbage on sa9200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29138 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
81682e723a
commit
d796ab6f61
2 changed files with 11 additions and 3 deletions
|
|
@ -293,7 +293,13 @@
|
|||
#define YOFS ((LCD_HEIGHT-224/2)/2)
|
||||
#elif (LCD_WIDTH >= 128)
|
||||
#define XOFS ((LCD_WIDTH-224/2)/2)
|
||||
#if LCD_HEIGHT < 144
|
||||
#define YCLIP ((288-2*LCD_HEIGHT)/2)
|
||||
#define YOFS 0
|
||||
#else
|
||||
#define YCLIP 0
|
||||
#define YOFS ((LCD_HEIGHT-288/2)/2)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* How many video frames (out of a possible 60) we display each second.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue