sms vdp, support 224/240 line mode

This commit is contained in:
kub 2021-10-06 19:45:01 +02:00
parent 3bfee02717
commit 4b3e9d92e3
2 changed files with 9 additions and 5 deletions

View file

@ -380,8 +380,8 @@ void PicoFrameMS(void)
z80_nmi();
Pico.ms.nmi_state = nmi;
if ((Pico.video.reg[0] & 6) == 6 && (Pico.video.reg[1] & 0x18))
lines_vis = (Pico.video.reg[1] & 0x08) ? 240 : 224;
if ((pv->reg[0] & 6) == 6 && (pv->reg[1] & 0x18))
lines_vis = (pv->reg[1] & 0x08) ? 240 : 224;
PicoFrameStartMode4();
hint = pv->reg[0x0a];