summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/champbwl.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-01-02 04:59:11 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-01-02 04:59:11 +0000
commit80cd316a2ad134c67ca028a606266bb733a025b6 (patch)
treee198baaf50207b99fd46fb4696cdcda17e94ab65 /src/mame/drivers/champbwl.c
parent1ded844ee73ec0768de1b7ccba5491c92fd4ad5a (diff)
Bulk conversion of bitmap_t * to bitmap_t & . With this change the
parameters for the global SCREEN_UPDATE callback match the parameters for the driver_device version. Added allocate() and deallocate() methods to bitmap_t to permit cleaner handling of bitmaps in drivers and modern devices. [Aaron Giles]
Diffstat (limited to 'src/mame/drivers/champbwl.c')
-rw-r--r--src/mame/drivers/champbwl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/champbwl.c b/src/mame/drivers/champbwl.c
index 055723c5b48..9e0105a1ab5 100644
--- a/src/mame/drivers/champbwl.c
+++ b/src/mame/drivers/champbwl.c
@@ -451,7 +451,7 @@ static MACHINE_RESET( champbwl )
SCREEN_UPDATE( champbwl )
{
- bitmap->fill(0x1f0, cliprect);
+ bitmap.fill(0x1f0, cliprect);
screen.machine().device<seta001_device>("spritegen")->set_fg_yoffsets( -0x12, 0x0e );
screen.machine().device<seta001_device>("spritegen")->set_bg_yoffsets( 0x1, -0x1 );
@@ -509,7 +509,7 @@ MACHINE_CONFIG_END
static SCREEN_UPDATE( doraemon )
{
- bitmap->fill(0x1f0, cliprect);
+ bitmap.fill(0x1f0, cliprect);
screen.machine().device<seta001_device>("spritegen")->set_bg_yoffsets( 0x00, 0x01 );
screen.machine().device<seta001_device>("spritegen")->set_fg_yoffsets( 0x00, 0x10 );