diff --git a/src/video/vid_ega_render.c b/src/video/vid_ega_render.c index 591acc3e1..5b5a10631 100644 --- a/src/video/vid_ega_render.c +++ b/src/video/vid_ega_render.c @@ -165,7 +165,7 @@ ega_render_text(ega_t *ega) ega->ma += 4; p += charwidth; } - ega->ma &= ega->vrammask; + ega->ma &= 0x3ffff; } }