From 7e11ab4d8f9227d3365229059315886d4991d53f Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 19 Jul 2026 23:33:01 -0400 Subject: [PATCH] `uint16_t tileIdx` type matches `options.baseTileIDs` Tile IDs wrap at 8 bits, but that's handled by `uint8_t tileID` --- src/gfx/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gfx/process.cpp b/src/gfx/process.cpp index 25c0c24f..b5b054aa 100644 --- a/src/gfx/process.cpp +++ b/src/gfx/process.cpp @@ -691,7 +691,7 @@ static void outputUnoptimizedMaps( autoOpenPath(options.attrmap, attrmapOutput); autoOpenPath(options.palmap, palmapOutput); - uint8_t tileIdx = 0; + uint16_t tileIdx = 0; uint8_t bank = 0; for (AttrmapEntry const &attr : attrmap) { // The update-increment logic at the end of this loop may increment `bank` from 1 to 2,