core, optimize vcounter handling

This commit is contained in:
kub 2023-07-17 21:16:38 +02:00
parent 7021622153
commit 46b4c1d322
3 changed files with 13 additions and 13 deletions

View file

@ -1367,7 +1367,7 @@ static unsigned char z80_md_vdp_read(unsigned short a)
case 0x04: return PicoVideoRead8CtlH(1);
case 0x05: return PicoVideoRead8CtlL(1);
case 0x08:
case 0x0c: return PicoVideoGetV(get_scanline(1));
case 0x0c: return PicoVideoGetV(get_scanline(1), 1);
case 0x09:
case 0x0d: return Pico.m.rotate++;
}