mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +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!
6 lines
201 B
Plaintext
6 lines
201 B
Plaintext
error: Failed to fit tile colors [$6c8a, $7f55, $7fff] in specified palettes
|
|
note: The following palettes were specified:
|
|
[$7fff, $7f55]
|
|
[$7fff, $6c8a]
|
|
Conversion aborted after 1 error
|