Port from MESS, nw

This commit is contained in:
Angelo Salese 2011-08-05 02:22:15 +00:00
parent ab24778f66
commit 50e94bdb2c

View File

@ -5470,7 +5470,7 @@ static void stv_vdp2_draw_back(running_machine &machine, bitmap_t *bitmap, const
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 */
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++)
{
base_offs = (STV_VDP2_BKTA & base_mask) << 1;
base_offs = ((STV_VDP2_BKTA + 1) & base_mask) << 1;
if(STV_VDP2_BKCLMD)
base_offs += ((y / interlace) << 1);