mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
The function only stopped at the end of the *arrays*, not of *their used portions*! This could cause false negatives one way or the other. This appears not to affect the palette packing, since the packing algorithm deals with them efficiently; but it should speed up processing slightly, and as the test changes show, it also improves the UX of palette packing error messages!
9 lines
319 B
Plaintext
9 lines
319 B
Plaintext
error: Failed to fit tile colors [$6c8a, $7f55, $7fff] in specified palettes
|
|
note: The following palettes were specified:
|
|
[$5f77, $213d, $41a6, $40ee]
|
|
[$3f65, $36b3, $262a, $50b0]
|
|
[$53c3, $3f65, $36b3]
|
|
[$5f77, $267c, $41a6]
|
|
[$267c, $213d, $40ee]
|
|
Conversion aborted after 1 error
|