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
+1 -1
View File
@@ -1,3 +1,3 @@
warning: Colors #a9b9c9ff and #aabbccff both reduce to the same Game Boy color $66f5 (first seen at (1, 1))
warning: Colors #a9b9c9ff and #aabbccff both reduce to the same RGB555 color GB:21,23,25 (first seen at (1, 1))
FATAL: Tile (0, 0) contains the background color (#aabbccff)
Conversion aborted after 1 error