# HG changeset patch # User Matti Hamalainen # Date 1700945410 -7200 # Node ID 2cda64a11715111bdc5775e90cba6f57cc2f1e88 # Parent 92909caccc9ebfe37d5081b6564103dfc77b5b01 Rename an array. diff -r 92909caccc9e -r 2cda64a11715 tools/lib64fmts.c --- a/tools/lib64fmts.c Sat Nov 25 15:56:18 2023 +0200 +++ b/tools/lib64fmts.c Sat Nov 25 22:50:10 2023 +0200 @@ -1814,7 +1814,7 @@ #define DM_CREST_SHFLI_BANKS 8 #define DM_CREST_SHFLI_PTRS 8 -static const Uint8 fmtCrestSHFLI_Sprite_pointers[DM_CREST_SHFLI_BANKS][DM_CREST_SHFLI_PTRS] = +static const Uint8 fmtCrestSHFLI_sprite_pointers[DM_CREST_SHFLI_BANKS][DM_CREST_SHFLI_PTRS] = { { 0x80, 0x84, 0x85, 0x89, 0x8A, 0x8E, 0x8F, 0x93 }, { 0x94, 0x98, 0x99, 0x9D, 0x9E, 0xA2, 0xA3, 0xA7 }, @@ -1843,7 +1843,7 @@ for (int nbank = 0; nbank < DM_CREST_SHFLI_BANKS; nbank++) { if (memcmp(buf->data + 2 + (nbank * 0x0400) + 0x03f8, - fmtCrestSHFLI_Sprite_pointers[nbank], DM_CREST_SHFLI_PTRS) == 0) + fmtCrestSHFLI_sprite_pointers[nbank], DM_CREST_SHFLI_PTRS) == 0) score += DM_PROBE_SCORE_GOOD; } return score; @@ -1924,7 +1924,7 @@ memset(dptr, 0xff, fmt->format->chWidth * fmt->format->chHeight); // Copy sprite data points - memcpy(dptr + 0x03f8, &fmtCrestSHFLI_Sprite_pointers[nbank], DM_CREST_SHFLI_PTRS); + memcpy(dptr + 0x03f8, &fmtCrestSHFLI_sprite_pointers[nbank], DM_CREST_SHFLI_PTRS); } // Now we copy and transform the bitmap and screen RAM data. @@ -1971,7 +1971,7 @@ for (int yc = 0; yc < DM_CREST_SHFLI_IMG_HEIGHT * 8; yc++) { const int yd = yc % D64_SPR_HEIGHT_PX; - const Uint8 *sprPtrs = fmtCrestSHFLI_Sprite_pointers[yc % 8]; + const Uint8 *sprPtrs = fmtCrestSHFLI_sprite_pointers[yc % 8]; Uint8 *sp1, *sp2, *dp; dptr = dstBuf + D64_SPR_WIDTH_UT * yd;