--- xmil/vram/makescrn.c 2004/08/12 20:23:31 1.10 +++ xmil/vram/makescrn.c 2004/08/14 12:16:18 1.12 @@ -11,9 +11,9 @@ MAKESCRN makescrn; - BYTE scrnallflash; -static BYTE lastdisp = 0; -static BYTE blinktime = 1; + UINT8 scrnallflash; +static UINT8 lastdisp = 0; +static UINT8 blinktime = 1; UINT drawtime = 0; @@ -168,9 +168,9 @@ static void changecrtc(void) { makescrn.vramtop = crtc.e.pos; - scrnxmax = (crtc.s.reg[CRTCREG_HDISP] <= 40)?40:80; + scrnxmax = (crtc.s.width40)?40:80; scrnymax = 200; - if (crtc.s.reg[CRTCREG_HDISP] <= 40) { + if (crtc.s.width40) { if (lastdisp & SCRN_DRAW4096) { widthmode = SCRNWIDTHMODE_4096; }