From: Toni Wilen Date: Sun, 5 May 2019 11:06:22 +0000 (+0300) Subject: Darker decompression colors, do not change color0 after set_custom. X-Git-Tag: 4300~222 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=be1309f226fc717bf8ac47aae9308819109be39b;p=francis%2Fwinuae.git Darker decompression colors, do not change color0 after set_custom. --- diff --git a/utilities/stateload/main.c b/utilities/stateload/main.c index c8363ee2..e152eff3 100644 --- a/utilities/stateload/main.c +++ b/utilities/stateload/main.c @@ -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); }