Merge pull request #336 from TC1995/master

Applied the bug fix from John Elliot regarding the Sigma Color 400.
This commit is contained in:
OBattler
2018-11-03 12:46:51 +01:00
committed by GitHub

View File

@@ -426,7 +426,7 @@ static void sigma_text80(sigma_t *sigma)
cols[0] = (attr >> 4) | 16;
}
if (drawcursor && !(x & 1)) {
if (drawcursor) {
for (c = 0; c < 8; c++) {
if (sigma->sigmamode & MODE_FONT16)
buffer->line[sigma->displine][(x << 3) + c + 8] = cols[(fontdatm[chr][sigma->sc & 15] & (1 << (c ^ 7))) ? 1 : 0] ^ 0x0f;