comparison src/lib64gfx.c @ 827:c8beac5313c3

Rename a function.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 17 May 2014 00:29:16 +0300
parents 1e5cf1144f36
children 4f3828914890
comparison
equal deleted inserted replaced
826:742e3d850247 827:c8beac5313c3
61 #define DM_GET_ADDR_HI(addr) (((addr) >> 8) & 0xff) 61 #define DM_GET_ADDR_HI(addr) (((addr) >> 8) & 0xff)
62 62
63 63
64 static BOOL dmCompareAddr16(const Uint8 *buf, const size_t offs, const Uint16 addr) 64 static BOOL dmCompareAddr16(const Uint8 *buf, const size_t offs, const Uint16 addr)
65 { 65 {
66 return buf[offs] == DM_GET_ADDR_LO(addr) && 66 return buf[offs ] == DM_GET_ADDR_LO(addr) &&
67 buf[offs + 1] == DM_GET_ADDR_HI(addr); 67 buf[offs + 1] == DM_GET_ADDR_HI(addr);
68 } 68 }
69 69
70 70
71 int dmC64ConvertCSData(DMImage *img, 71 int dmC64ConvertCSDataToImage(DMImage *img,
72 int xoffs, int yoffs, const Uint8 *buf, 72 int xoffs, int yoffs, const Uint8 *buf,
73 int width, int height, BOOL multicolor, int *colors) 73 int width, int height, BOOL multicolor, int *colors)
74 { 74 {
75 int yc, widthpx = width * 8; 75 int yc, widthpx = width * 8;
76 Uint8 *dp; 76 Uint8 *dp;