mirror of
https://github.com/holub/mame
synced 2025-05-12 17:14:19 +03:00
(MESS) Added LOF bit in Amiga emulation, used by Twintris to boot
This commit is contained in:
parent
8c5ff3fe3e
commit
e6c66ec990
@ -1163,8 +1163,11 @@ READ16_HANDLER( amiga_custom_r )
|
||||
return CUSTOM_REG(REG_DMACON);
|
||||
|
||||
case REG_VPOSR:
|
||||
CUSTOM_REG(REG_VPOSR) &= 0xff00;
|
||||
CUSTOM_REG(REG_VPOSR) &= 0x7f00;
|
||||
CUSTOM_REG(REG_VPOSR) |= amiga_gethvpos(*space.machine().primary_screen) >> 16;
|
||||
if(CUSTOM_REG(REG_BPLCON0) & BPLCON0_LACE && space.machine().primary_screen->frame_number() & 0x1)
|
||||
CUSTOM_REG(REG_VPOSR) |= 0x8000; // LOF bit
|
||||
|
||||
return CUSTOM_REG(REG_VPOSR);
|
||||
|
||||
case REG_VHPOSR:
|
||||
|
Loading…
Reference in New Issue
Block a user