From fbd0f0196748129637ee3ba4035c58feb833cb0b Mon Sep 17 00:00:00 2001 From: SarahW Date: Sun, 4 Jun 2017 16:48:19 +0100 Subject: [PATCH] Corrected intensity in Hercules graphics mode. --- src/vid_hercules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vid_hercules.c b/src/vid_hercules.c index cdfb31d..1a70db6 100644 --- a/src/vid_hercules.c +++ b/src/vid_hercules.c @@ -153,7 +153,7 @@ void hercules_poll(void *p) dat = (hercules->vram[((hercules->ma << 1) & 0x1fff) + ca] << 8) | hercules->vram[((hercules->ma << 1) & 0x1fff) + ca + 1]; hercules->ma++; for (c = 0; c < 16; c++) - ((uint32_t *)buffer32->line[hercules->displine])[(x << 4) + c] = (dat & (32768 >> c)) ? 0xffffff : 0; + ((uint32_t *)buffer32->line[hercules->displine])[(x << 4) + c] = (dat & (32768 >> c)) ? 0xaaaaaa : 0; } } else