changeset 1866:734234e7ca95

Add a comment about the imperfection of ANSI color output.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 24 Jun 2018 17:07:02 +0300
parents 3e830bcb001a
children 15cbf17a8ea6
files tools/gfxconv.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/gfxconv.c	Sun Jun 24 17:05:07 2018 +0300
+++ b/tools/gfxconv.c	Sun Jun 24 17:07:02 2018 +0300
@@ -221,6 +221,11 @@
 }
 
 
+//
+// Return a "matching" ANSI colour code for given C64 palette index.
+// As the standard 16 ANSI colours are not exact match and some C64
+// colours cant be represented, this is an imperfect conversion.
+//
 const char *dmC64GetANSIFromC64Color(const int col)
 {
     switch (col)