Previous 15994 Revisions Next

r12485 Friday 5th August, 2011 at 02:22:22 UTC by Angelo Salese
Fixed VDP2 back screen color bug
[src/mame/video]stvvdp2.c

src/mame/video/stvvdp2.c
r12484r12485
54705470
54715471   interlace = (STV_VDP2_LSMD == 3)+1;
54725472
5473   //popmessage("Back screen %08x %08x %08x",STV_VDP2_BDCLMD,STV_VDP2_BKCLMD,STV_VDP2_BKTA);
5473   popmessage("Back screen %08x %08x %08x",STV_VDP2_BDCLMD,STV_VDP2_BKCLMD,STV_VDP2_BKTA);
54745474
54755475   /* draw black if BDCLMD and DISP are cleared */
54765476   if(!(STV_VDP2_BDCLMD) && !(STV_VDP2_DISP))
r12484r12485
54815481
54825482      for(y=cliprect->min_y;y<=cliprect->max_y;y++)
54835483      {
5484         base_offs = (STV_VDP2_BKTA & base_mask) << 1;
5484         base_offs = ((STV_VDP2_BKTA + 1) & base_mask) << 1;
54855485         if(STV_VDP2_BKCLMD)
54865486            base_offs += ((y / interlace) << 1);
54875487

Previous 15994 Revisions Next


© 1998-2018 The MESS Team