1
0
Fork 0

Save the map mask to a lookup value

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@176
This commit is contained in:
Sjoerd van der Berg 2002-08-19 12:56:02 +00:00
parent bf747fff94
commit 95849cbc04

View file

@ -55,6 +55,7 @@ void write_p3c5(Bit32u port,Bit8u val) {
case 2: /* Map Mask */
seq(map_mask)=val & 15;
vga.config.full_map_mask=FillTable[val & 15];
vga.config.full_not_map_mask=~vga.config.full_map_mask;
/*
0 Enable writes to plane 0 if set
1 Enable writes to plane 1 if set