vid_ega: Mask ma correctly in the text renderer

It was already masked correctly in the 4bpp graphics renderers, but now we get to mask it correctly in the text renderer
This commit is contained in:
Ben Russell
2023-03-23 17:10:45 +13:00
parent 0bed201e87
commit 240ecdfe5f

View File

@@ -165,7 +165,7 @@ ega_render_text(ega_t *ega)
ega->ma += 4;
p += charwidth;
}
ega->ma &= ega->vrammask;
ega->ma &= 0x3ffff;
}
}