Format CGB colors in error/verbose messages as "GB:rr,gg,bb"

These should be more debuggable than packed "$xxxx" format.
This commit is contained in:
Rangi
2026-07-14 10:34:27 -04:00
committed by Rangi
parent 7e2a3491a5
commit 9a15b723f2
8 changed files with 79 additions and 72 deletions
+6 -6
View File
@@ -1,8 +1,8 @@
error: Failed to fit tile colors [$6c8a, $7f55, $7fff] in specified palettes
error: Failed to fit tile colors [GB:10,04,27; GB:21,26,31; GB:31,31,31] 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]
- [GB:23,27,23; GB:29,09,08; GB:06,13,16; GB:14,07,16]
- [GB:05,27,15; GB:19,21,13; GB:10,17,09; GB:16,05,20]
- [GB:03,30,20; GB:05,27,15; GB:19,21,13]
- [GB:23,27,23; GB:28,19,09; GB:06,13,16]
- [GB:28,19,09; GB:29,09,08; GB:14,07,16]
Conversion aborted after 1 error