Fix EGA cursor when cursor end = line 0.

This commit is contained in:
SarahW 2017-07-17 21:04:41 +01:00
commit c9d4459e6b

View file

@ -503,6 +503,8 @@ void ega_poll(void *p)
if (ega->sc == (ega->crtc[9] & 31))
{
ega->sc = 0;
if (ega->sc == (ega->crtc[11] & 31))
ega->con = 0;
ega->maback += (ega->rowoffset << 3);
ega->maback &= ega->vrammask;