summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dietgo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dietgo.c')
-rw-r--r--src/mame/drivers/dietgo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/dietgo.c b/src/mame/drivers/dietgo.c
index b33f265d625..029f1fece3b 100644
--- a/src/mame/drivers/dietgo.c
+++ b/src/mame/drivers/dietgo.c
@@ -241,7 +241,7 @@ static MACHINE_CONFIG_START( dietgo, dietgo_state )
MCFG_DECO16IC_PALETTE("palette")
MCFG_DEVICE_ADD("spritegen", DECO_SPRITE, 0)
- decospr_device::set_gfx_region(*device, 2);
+ MCFG_DECO_SPRITE_GFX_REGION(2)
MCFG_DECO_SPRITE_GFXDECODE("gfxdecode")
MCFG_DECO_SPRITE_PALETTE("palette")