Clean up palette packing a bit

Rename a poorly-named attribute, and add a bunch of debug logging
This commit is contained in:
ISSOtm
2022-03-12 18:55:10 +01:00
committed by Eldred Habert
parent 943d631701
commit ac02382632
2 changed files with 55 additions and 25 deletions

View File

@@ -938,8 +938,10 @@ contained:;
}
if (palettes.size() > options.nbPalettes) {
// If the palette generation is wrong, other (dependee) operations are likely to be nonsensical, so fatal-error outright
fatal("Generated %zu palettes, over the maximum of %" PRIu8, palettes.size(), options.nbPalettes);
// If the palette generation is wrong, other (dependee) operations are likely to be
// nonsensical, so fatal-error outright
fatal("Generated %zu palettes, over the maximum of %" PRIu8, palettes.size(),
options.nbPalettes);
}
if (!options.palettes.empty()) {