mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-23 14:17:06 +00:00
Color verbose output as magenta
Output RGBASM's lexed tokens at level 5 (TRACE)
This commit is contained in:
@@ -142,11 +142,13 @@ Png::Png(char const *filename, std::streambuf &file) {
|
||||
}
|
||||
|
||||
if (checkVerbosity(VERB_INFO)) {
|
||||
style_Set(stderr, STYLE_MAGENTA, false);
|
||||
fprintf(stderr, "Embedded PNG palette has %d colors: [", nbColors);
|
||||
for (int i = 0; i < nbColors; ++i) {
|
||||
fprintf(stderr, "%s#%08x", i > 0 ? ", " : "", palette[i].toCSS());
|
||||
}
|
||||
fprintf(stderr, "]\n");
|
||||
style_Reset(stderr);
|
||||
}
|
||||
} else {
|
||||
verbosePrint(VERB_INFO, "No embedded PNG palette\n");
|
||||
|
||||
Reference in New Issue
Block a user