diff options
author | Aaron Giles <aaron@aarongiles.com> | 2009-06-25 07:56:56 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2009-06-25 07:56:56 +0000 |
commit | f7ce2a786aaa4ac5e9f82daa4b78ee89ca5ef46c (patch) | |
tree | 6f905823e1dff4d781e7f9d95130e42a11d38ee2 /src/mame/drivers/buster.c | |
parent | 51d2e24a300e89a001709a52da3857c8b2a7b647 (diff) |
From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Sunday, June 21, 2009 6:15 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: Re: [patch] Convert most legacy drawgfx apis to new apis
On Sun, 21 Jun 2009 18:12:39 -0700, you wrote:
Woops, hit send before I attaches the patches.
>Hi mamedev,
>
>The following set of patches migrates much of MAME from the legacy
>drawgfx apis to the new drawgfx apis introduced in January.
>
>0. This removes the machine parameter from some custom drawgfx
>routines to align them better with the current idiom.
>1. This changes some custom drawgfx routines to follow the (bitmap,
>cliprect, gfx, ...) convention of the new drawgfx apis and adjusts a
>few apis to use an explicit transparency constant.
>2. This patch is entirely mechanical (generated by gfx07.pl) and
>converts legacys apis to the new apis.
>3. This patch fixes a few cases where the last patch mangled the
>code.
>
>This leaves about twenty uses of the legacy drawgfx apis in MAME. I'll
>likely try to modify most of these before moving the legacy apis to
>deprecat.h
>
>~aa
Diffstat (limited to 'src/mame/drivers/buster.c')
-rw-r--r-- | src/mame/drivers/buster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/buster.c b/src/mame/drivers/buster.c index c2d16bf9c32..b131eca3f18 100644 --- a/src/mame/drivers/buster.c +++ b/src/mame/drivers/buster.c @@ -32,7 +32,7 @@ static VIDEO_UPDATE(buster) { int tile = (buster_vram[count+1])|(buster_vram[count]<<8); //int colour = tile>>12; - drawgfx(bitmap,gfx,tile,0,0,0,x*8,y*4,cliprect,TRANSPARENCY_NONE,0); + drawgfx_opaque(bitmap,cliprect,gfx,tile,0,0,0,x*8,y*4); count+=2; } |