--- np2/vram/sdrawq16.c 2004/02/18 02:03:37 1.2 +++ np2/vram/sdrawq16.c 2005/02/07 14:46:13 1.4 @@ -13,7 +13,7 @@ static void SCRNCALL qvga16p_0(SDRAW sdr int xbytes; UINT32 palwork; UINT16 pal; - BYTE *p; + UINT8 *p; int y; int x; @@ -42,8 +42,8 @@ static void SCRNCALL qvga16p_0(SDRAW sdr static void SCRNCALL qvga16p_1(SDRAW sdraw, int maxy) { int xbytes; -const BYTE *p; - BYTE *q; +const UINT8 *p; + UINT8 *q; int y; int x; UINT32 work; @@ -79,9 +79,9 @@ const BYTE *p; static void SCRNCALL qvga16p_2(SDRAW sdraw, int maxy) { int xbytes; -const BYTE *p; -const BYTE *q; - BYTE *r; +const UINT8 *p; +const UINT8 *q; + UINT8 *r; int y; int x; UINT32 work; @@ -124,8 +124,8 @@ const BYTE *q; static void SCRNCALL qvga16p_gi(SDRAW sdraw, int maxy) { int xbytes; -const BYTE *p; - BYTE *q; +const UINT8 *p; + UINT8 *q; int y; int x; UINT32 work; @@ -159,9 +159,9 @@ const BYTE *p; static void SCRNCALL qvga16p_2i(SDRAW sdraw, int maxy) { int xbytes; -const BYTE *p; -const BYTE *q; - BYTE *r; +const UINT8 *p; +const UINT8 *q; + UINT8 *r; int y; int x; UINT32 work; @@ -208,12 +208,13 @@ const BYTE *q; sdraw->y = y; } +#if defined(SUPPORT_CRT15KHZ) // text or grph 1¥×¥ì¡¼¥ó (15kHz) static void SCRNCALL qvga16p_1d(SDRAW sdraw, int maxy) { int xbytes; -const BYTE *p; - BYTE *q; +const UINT8 *p; + UINT8 *q; int y; int x; UINT32 work; @@ -246,9 +247,9 @@ const BYTE *p; static void SCRNCALL qvga16p_2d(SDRAW sdraw, int maxy) { int xbytes; -const BYTE *p; -const BYTE *q; - BYTE *r; +const UINT8 *p; +const UINT8 *q; + UINT8 *r; int y; int x; UINT32 work; @@ -279,6 +280,8 @@ const BYTE *q; sdraw->dst = r; sdraw->y = y; } +#endif + static const SDRAWFN qvga16p[] = { qvga16p_0, qvga16p_1, qvga16p_1, qvga16p_2,