mirror of
https://github.com/holub/mame
synced 2025-05-23 06:08:48 +03:00
Improved video rendering in MPU4 [David Haywood]
This commit is contained in:
parent
3241faf039
commit
434b5dd754
@ -504,13 +504,13 @@ static VIDEO_UPDATE( mpu4_vid )
|
|||||||
for(x = 0; x <= IR5_scn2674_character_per_row; x++)
|
for(x = 0; x <= IR5_scn2674_character_per_row; x++)
|
||||||
{
|
{
|
||||||
UINT16 tiledat;
|
UINT16 tiledat;
|
||||||
UINT16 colattr;
|
UINT16 attr;
|
||||||
|
|
||||||
tiledat = mpu4_vid_mainram[(rowbase+x)&0x7fff];
|
tiledat = mpu4_vid_mainram[(rowbase+x)&0x7fff];
|
||||||
colattr = tiledat >>12;
|
attr = tiledat >>12;
|
||||||
tiledat &= 0x0fff;
|
|
||||||
|
|
||||||
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++;
|
//count++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user