summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2010-04-18 19:22:56 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2010-04-18 19:22:56 +0000
commit434b5dd754df1e40c0ae5f2a6ef6e7f6fa220ce7 (patch)
tree6fcb67cb702bdfb21c7cdfd409d3f0381fe5b536 /src
parent3241faf0397b6b9bd42795bb7110077a0d428e02 (diff)
Improved video rendering in MPU4 [David Haywood]
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/mpu4drvr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/mpu4drvr.c b/src/mame/drivers/mpu4drvr.c
index f3f9dc80b45..23c0f689292 100644
--- a/src/mame/drivers/mpu4drvr.c
+++ b/src/mame/drivers/mpu4drvr.c
@@ -504,13 +504,13 @@ static VIDEO_UPDATE( mpu4_vid )
for(x = 0; x <= IR5_scn2674_character_per_row; x++)
{
UINT16 tiledat;
- UINT16 colattr;
+ UINT16 attr;
tiledat = mpu4_vid_mainram[(rowbase+x)&0x7fff];
- colattr = tiledat >>12;
- tiledat &= 0x0fff;
+ attr = tiledat >>12;
- drawgfx_opaque(bitmap,cliprect,screen->machine->gfx[gfxregion],tiledat,colattr,0,0,x*8,y*8);
+ if (attr)
+ drawgfx_opaque(bitmap,cliprect,screen->machine->gfx[gfxregion],tiledat,0,0,0,x*8,y*8);
//count++;
}