mirror of
https://github.com/holub/mame
synced 2025-05-27 16:21:34 +03:00
Port from MESS, nw
This commit is contained in:
parent
ab24778f66
commit
50e94bdb2c
@ -5470,7 +5470,7 @@ static void stv_vdp2_draw_back(running_machine &machine, bitmap_t *bitmap, const
|
|||||||
|
|
||||||
interlace = (STV_VDP2_LSMD == 3)+1;
|
interlace = (STV_VDP2_LSMD == 3)+1;
|
||||||
|
|
||||||
//popmessage("Back screen %08x %08x %08x",STV_VDP2_BDCLMD,STV_VDP2_BKCLMD,STV_VDP2_BKTA);
|
popmessage("Back screen %08x %08x %08x",STV_VDP2_BDCLMD,STV_VDP2_BKCLMD,STV_VDP2_BKTA);
|
||||||
|
|
||||||
/* draw black if BDCLMD and DISP are cleared */
|
/* draw black if BDCLMD and DISP are cleared */
|
||||||
if(!(STV_VDP2_BDCLMD) && !(STV_VDP2_DISP))
|
if(!(STV_VDP2_BDCLMD) && !(STV_VDP2_DISP))
|
||||||
@ -5481,7 +5481,7 @@ static void stv_vdp2_draw_back(running_machine &machine, bitmap_t *bitmap, const
|
|||||||
|
|
||||||
for(y=cliprect->min_y;y<=cliprect->max_y;y++)
|
for(y=cliprect->min_y;y<=cliprect->max_y;y++)
|
||||||
{
|
{
|
||||||
base_offs = (STV_VDP2_BKTA & base_mask) << 1;
|
base_offs = ((STV_VDP2_BKTA + 1) & base_mask) << 1;
|
||||||
if(STV_VDP2_BKCLMD)
|
if(STV_VDP2_BKCLMD)
|
||||||
base_offs += ((y / interlace) << 1);
|
base_offs += ((y / interlace) << 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user