Fix #537: Palettes generated from PNGs use .gbcpal directly.

This avoids overwriting a .pal file from a .png with the same name.
It also prevents people from trying to edit generated .pal files.
This commit is contained in:
Rangi
2018-08-31 21:39:17 -04:00
parent a71b28e5b7
commit 36b21b39d8
4 changed files with 331 additions and 326 deletions

View File

@@ -17,3 +17,8 @@ color EQUS "+ PAL_COLOR_SIZE *"
tiles EQUS "* LEN_2BPP_TILE"
tile EQUS "+ LEN_2BPP_TILE *"
; extracts the middle two colors from a 2bpp binary palette
; example usage:
; INCBIN "foo.gbcpal", middle_colors
middle_colors EQUS "PAL_COLOR_SIZE, PAL_COLOR_SIZE * 2"