sms vdp, support 224/240 line mode

This commit is contained in:
kub 2021-10-04 18:03:49 +02:00
parent b784d4a5f7
commit 3758124cb8
2 changed files with 15 additions and 6 deletions

View file

@ -380,6 +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;
PicoFrameStartMode4();
hint = pv->reg[0x0a];