Fixed graphics mode on Hercules Plus, fixes #1832.

This commit is contained in:
OBattler
2021-11-30 13:04:30 +01:00
parent dfb5ef8cae
commit 82c2522f42

View File

@@ -475,9 +475,9 @@ graphics_line(herculesplus_t *dev)
dev->ma++; dev->ma++;
for (c = 0; c < 16; c++) { for (c = 0; c < 16; c++) {
val >>= 1; buffer32->line[dev->displine][(x << 4) + c] = (val & 0x8000) ? 7 : 0;
buffer32->line[dev->displine][(x << 4) + c] = (val & 1) ? 7 : 0; val <<= 1;
} }
for (c = 0; c < 16; c += 8) for (c = 0; c < 16; c += 8)