mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
Blank fix
This commit is contained in:
parent
3792c1e6eb
commit
f1816533c1
@ -1243,7 +1243,8 @@ READ32_MEMBER( powervr2_device::spg_status_r )
|
||||
UINT32 vsync = ((m_screen->vpos() >= spg_vbstart) || (m_screen->vpos() < spg_vbend)) ? 0 : 1;
|
||||
UINT32 hsync = ((m_screen->hpos() >= spg_hbstart) || (m_screen->hpos() < spg_hbend)) ? 0 : 1;
|
||||
/* FIXME: following is just a wild guess */
|
||||
UINT32 blank = (vsync | hsync) ? 0 : 1;
|
||||
UINT32 blank; = ((m_screen->vpos() >= spg_vbstart) || (m_screen->vpos() < spg_vbend) |
|
||||
(m_screen->hpos() >= spg_hbstart) || (m_screen->hpos() < spg_hbend)) ? 0 : 1;
|
||||
if(vo_control & 4) { blank^=1; }
|
||||
if(vo_control & 2) { vsync^=1; }
|
||||
if(vo_control & 1) { hsync^=1; }
|
||||
|
Loading…
Reference in New Issue
Block a user