diff options
author | Aaron Giles <aaron@aarongiles.com> | 2012-01-27 07:53:25 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2012-01-27 07:53:25 +0000 |
commit | 401783c8fc14168a90069ddf63dfdbb07105eb7b (patch) | |
tree | a4ac4656b0e1cbdc7799f417af824a48e51de3c4 /src/mame/drivers/progolf.c | |
parent | d8d259324079a2e71d0fb9305c563733ea5bfcae (diff) |
Fix progolf graphics.
Diffstat (limited to 'src/mame/drivers/progolf.c')
-rw-r--r-- | src/mame/drivers/progolf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/progolf.c b/src/mame/drivers/progolf.c index 0d200c586d7..0b3b918ce7b 100644 --- a/src/mame/drivers/progolf.c +++ b/src/mame/drivers/progolf.c @@ -127,7 +127,7 @@ static SCREEN_UPDATE_IND16( progolf ) { color = state->m_fg_fb[(xi+yi*8)+count*0x40]; - if(cliprect.contains(x+yi, 256-y+xi)) + if(color != 0 && cliprect.contains(x+yi, 256-y+xi)) bitmap.pix16(x+yi, 256-y+xi) = screen.machine().pens[(color & 0x7)]; } } |