comparison tools/lib64gfx.h @ 2113:3fcf1c3a3287

Change decFunction() argument order in DMC64EncDecOp.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 26 May 2019 01:16:57 +0300
parents 510ea816d1ff
children 27cf33c3a646
comparison
equal deleted inserted replaced
2112:9dc2976e9fa3 2113:3fcf1c3a3287
182 size_t offs; // Offset in "memory" 182 size_t offs; // Offset in "memory"
183 int bank; // Bank number or extradata index 183 int bank; // Bank number or extradata index
184 size_t size; // Size of data (0 for "default") 184 size_t size; // Size of data (0 for "default")
185 size_t offs2; // Offset in data-block 185 size_t offs2; // Offset in data-block
186 186
187 BOOL (*decFunction)(DMC64Image *img, const struct _DMC64EncDecOp *op, const DMGrowBuf *buf, const DMC64ImageCommonFormat *fmt); 187 BOOL (*decFunction)(const struct _DMC64EncDecOp *op, DMC64Image *img, const DMGrowBuf *buf, const DMC64ImageCommonFormat *fmt);
188 BOOL (*encFunction)(const struct _DMC64EncDecOp *op, DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageCommonFormat *fmt); 188 BOOL (*encFunction)(const struct _DMC64EncDecOp *op, DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageCommonFormat *fmt);
189 } DMC64EncDecOp; 189 } DMC64EncDecOp;
190 190
191 191
192 #define D64_MAX_ENCDEC_OPS 64 192 #define D64_MAX_ENCDEC_OPS 64