Fix RGBGFX crash on deduplicating transparent tiles

This commit is contained in:
Rangi
2026-07-09 21:24:59 -04:00
parent c667bac93a
commit 7b97d7ce15
7 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -822,7 +822,7 @@ static UniqueTiles dedupTiles(
attr.bank = 0;
attr.tileID = 0;
} else {
auto [tileID, matchType] = tiles.addTile({tile, palettes[mappings[attr.colorSetID]]});
auto [tileID, matchType] = tiles.addTile({tile, palettes[attr.getPalID(mappings)]});
if (inputWithoutOutput && matchType == TileData::NOPE) {
error(
+1
View File
@@ -0,0 +1 @@
-m
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B