Sonic CD shows Sega logo
[picodrive.git] / platform / uiq3 / engine / blit.c
CommitLineData
cc68a136 1\r
2/*\r
3void vidConvCpyRGB32 (void *to, void *from, int lines, int p240)\r
4{\r
5 unsigned short *ps = (unsigned short *) from;\r
6 unsigned long *pd = (unsigned long *) to;\r
7 int x, y;\r
8 int to_x = p240 ? 240 : 224;\r
9 if(!p240) pd += 8;\r
10\r
11 for(y = 0; y < lines; y++) // ps < ps_end; ps++)\r
12 for(x = 0; x < to_x; x++, ps++)\r
13 // Convert 0000bbb0 ggg0rrr0\r
14 // to ..0 rrr00000 ggg00000 bbb00000\r
15 *(pd+y*256+x) = ((*ps&0x000F)<<20) | ((*ps&0x00F0)<<8) | ((*ps&0x0F00)>>4);\r
16}\r
17*/\r
18\r
19// stubs\r
20void vidConvCpyRGB32 (void *to, void *from, int pixels) {}\r
21void vidConvCpyRGB32sh(void *to, void *from, int pixels) {}\r
22void vidConvCpyRGB32hi(void *to, void *from, int pixels) {}\r
23\r
24void vidConvCpy_90 (void *to, void *from, void *pal, int width) {}\r
25void vidConvCpy_270 (void *to, void *from, void *pal, int width) {}\r
26void vidConvCpy_center_0 (void *to, void *from, void *pal) {}\r
27void vidConvCpy_center_180(void *to, void *from, void *pal) {}\r
28void vidConvCpy_center2_40c_0 (void *to, void *from, void *pal, int lines) {}\r
29void vidConvCpy_center2_40c_180(void *to, void *from, void *pal, int lines) {}\r
30void vidConvCpy_center2_32c_0 (void *to, void *from, void *pal, int lines) {}\r
31void vidConvCpy_center2_32c_180(void *to, void *from, void *pal, int lines) {}\r
32\r
33void vidClear(void *to, int lines) {}\r
34\r