From 50e94bdb2c4e0956cacb628962b3180f9a30c60a Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Fri, 5 Aug 2011 02:22:15 +0000 Subject: [PATCH] Port from MESS, nw --- src/mame/video/stvvdp2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/video/stvvdp2.c b/src/mame/video/stvvdp2.c index a09861c922f..6d9e3a57919 100644 --- a/src/mame/video/stvvdp2.c +++ b/src/mame/video/stvvdp2.c @@ -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);