changeset 2607:2cda64a11715

Rename an array.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 25 Nov 2023 22:50:10 +0200
parents 92909caccc9e
children 8315e713c35e
files tools/lib64fmts.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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;