summaryrefslogtreecommitdiff
path: root/engine/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx')
-rw-r--r--engine/gfx/color.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/gfx/color.asm b/engine/gfx/color.asm
index b6d1a2b2e..af7b7cd3d 100644
--- a/engine/gfx/color.asm
+++ b/engine/gfx/color.asm
@@ -1170,7 +1170,9 @@ INCLUDE "gfx/sgb/pal_packets.asm"
INCLUDE "data/sgb_ctrl_packets.asm"
PredefPals:
+ table_width PALETTE_SIZE, PredefPals
INCLUDE "gfx/sgb/predef.pal"
+ assert_table_length NUM_PREDEF_PALS
SGBBorderMapAndPalettes:
; interleaved tile ids and palette ids, without the center 20x18 screen area