1
0
Fork 0
forked from len0rd/rockbox

Grayscale support for rockboy - can't work without markuns patch,

needs rockbox' internal framebuffer in 2 bit (4 pixels / byte) format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6132 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michiel Van Der Kolk 2005-03-04 11:01:33 +00:00
parent ee811a3443
commit ca2e99b4be
4 changed files with 29 additions and 2 deletions

View file

@ -16,7 +16,11 @@ struct scan
{
int bg[64];
int wnd[64];
byte buf[8][256];
#ifdef GRAYSCALE
byte buf[4][256];
#else
byte buf[8][256];
#endif
byte pal1[128];
un16 pal2[64];
un32 pal4[64];