gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 1defcf000ba69492c3377af1f867b6e7cb77f0ba parent 01684f4166e5751aa1447ef138d5ff5a25a2d4c8 Author: Toxa <56631470+untoxa@users.noreply.github.com> Date: Fri, 12 Jan 2024 14:40:55 +0300 Merge pull request #609 from lunoka/patch-1 Update maps.cpp Diffstat:
| M | gbdk-support/png2asset/maps.cpp | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gbdk-support/png2asset/maps.cpp b/gbdk-support/png2asset/maps.cpp @@ -79,7 +79,7 @@ void GetMap( PNG2AssetData* assetData) } else if(assetData->args->pack_mode == Tile::SMS) { - props = props >> 4; + props = (props >> 4) | ((pal_idx & 1) << 3); if(idx > 255) props |= 1; assetData->map.push_back(props);
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.