mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-26 08:44:35 +00:00
Fix RGBGFX crash on deduplicating transparent tiles
This commit is contained in:
+1
-1
@@ -822,7 +822,7 @@ static UniqueTiles dedupTiles(
|
|||||||
attr.bank = 0;
|
attr.bank = 0;
|
||||||
attr.tileID = 0;
|
attr.tileID = 0;
|
||||||
} else {
|
} 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) {
|
if (inputWithoutOutput && matchType == TileData::NOPE) {
|
||||||
error(
|
error(
|
||||||
|
|||||||
@@ -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 |
Reference in New Issue
Block a user