gbdev/rgbds

Avoid the magic number 0x8001 in RGBGFX

Closed this issue · 1 comments

0x8001 is a red herring. The comment clearly explains it: it's the number of possible colors plus transparent. What you're looking for is NUM_GB_COLORS + 1.