Fixed VGA character set selection (bad documentation). Fixes Impulse Tracker.

This commit is contained in:
TomW 2014-03-05 19:51:23 +00:00
commit f030e72816
2 changed files with 9 additions and 5 deletions

View file

@ -73,8 +73,8 @@ void ega_out(uint16_t addr, uint8_t val, void *p)
ega->writemask = val & 0xf;
break;
case 3:
ega->charseta = (((val >> 2) & 3) * 0x10000) + 2;
ega->charsetb = ((val & 3) * 0x10000) + 2;
ega->charsetb = (((val >> 2) & 3) * 0x10000) + 2;
ega->charseta = ((val & 3) * 0x10000) + 2;
break;
}
break;