changeset 2507:5c1e3744434b

Remove the unused D64_CHCFG_* stuff.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 29 Apr 2020 01:21:51 +0300
parents 609c6bcf0dac
children f5bdd6ed298e
files tools/lib64gfx.c tools/lib64gfx.h
diffstat 2 files changed, 0 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Wed Apr 29 01:14:30 2020 +0300
+++ b/tools/lib64gfx.c	Wed Apr 29 01:21:51 2020 +0300
@@ -1051,27 +1051,6 @@
                 }
                 break;
 
-            case DO_CHAR_CFG:
-                switch (ctx.op->subject)
-                {
-                    case D64_CHCFG_SCREEN:
-                        break;
-
-                    case D64_CHCFG_LINEAR:
-                        for (int bank = 0; bank < img->nblocks; bank++)
-                        {
-                            for (int offs = 0; offs < fmt->format->chHeight * fmt->format->chWidth; offs++)
-                                img->screen[bank].data[offs] = offs & 0xff;
-                        }
-                        break;
-
-                    default:
-                        return dmC64EncDecError(&ctx, DMERR_INTERNAL,
-                            "Unhandled DO_CHAR_CFG mode %d",
-                            ctx.op->subject);
-                }
-                break;
-
             case DO_FUNC:
                 if (ctx.op->decFunction != NULL &&
                     (res = ctx.op->decFunction(ctx.op, img, buf, fmt->format)) != DMERR_OK)
--- a/tools/lib64gfx.h	Wed Apr 29 01:14:30 2020 +0300
+++ b/tools/lib64gfx.h	Wed Apr 29 01:21:51 2020 +0300
@@ -98,15 +98,6 @@
 };
 
 
-// Charmode screen memory configuration
-enum
-{
-    D64_CHCFG_SCREEN,      // Use screen memory
-    D64_CHCFG_LINEAR = 1,  // Generate linear pattern so that first line
-                           // of chars is 0-39, second 40-79, up to 255.
-};
-
-
 // Various extra settings (see DMC64Image::extraInfo[])
 enum
 {