Add BPP8SNESToIndexed to snes_tile for cgx

This commit is contained in:
scawful
2023-08-02 07:15:55 -04:00
parent 1d0419583d
commit d51bb7b3d0
3 changed files with 99 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ constexpr uchar kGraphicsBitmap[8] = {0x80, 0x40, 0x20, 0x10,
0x08, 0x04, 0x02, 0x01};
Bytes SnesTo8bppSheet(Bytes sheet, int bpp);
Bytes BPP8SNESToIndexed(Bytes data, uint64_t bpp = 0);
struct tile8 {
unsigned int id;