]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Darker decompression colors, do not change color0 after set_custom.
authorToni Wilen <twilen@winuae.net>
Sun, 5 May 2019 11:06:22 +0000 (14:06 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 5 May 2019 11:06:22 +0000 (14:06 +0300)
utilities/stateload/main.c

index c8363ee28a69bc02a7eed87dc6693c43fbf1e51d..e152eff3ab4d64076fccee531a62a032635182b1 100644 (file)
@@ -92,6 +92,7 @@ static void set_agacolor(UBYTE *p)
                        }                       
                }
        }
+       c->bplcon3 = 0x0c00;
 }
 
 static void wait_lines(WORD lines)
@@ -841,24 +842,24 @@ static void processstate(struct uaestate *st)
 
        for (int i = 0; i < MEMORY_REGIONS; i++) {
                if (i == MB_CHIP)
-                       c->color[0] = 0x800;
+                       c->color[0] = 0x400;
                if (i == MB_SLOW)
-                       c->color[0] = 0x080;
+                       c->color[0] = 0x040;
                if (i == MB_FAST)
-                       c->color[0] = 0x008;
+                       c->color[0] = 0x004;
                struct MemoryBank *mb = &st->membanks[i];
                if (mb->addr) {
                        handlerambank(mb, st);
                }
        }
-       c->color[0] = 0x880;
+       c->color[0] = 0x440;
        
        // must be before set_cia
        for (int i = 0; i < 4; i++) {
                set_floppy(st->floppy_chunk[i], i);
        }
 
-       c->color[0] = 0x808;
+       c->color[0] = 0x444;
 
        set_agacolor(st->aga_colors_chunk);
        set_custom(st->custom_chunk);
@@ -871,8 +872,6 @@ static void processstate(struct uaestate *st)
        set_cia(st->ciaa_chunk, 0);
        set_cia(st->ciab_chunk, 1);
 
-       c->color[0] = 0x888;
-
        runit(st);
 }