summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/nmg5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/nmg5.c')
-rw-r--r--src/mame/drivers/nmg5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/nmg5.c b/src/mame/drivers/nmg5.c
index b66b90c9eae..2007ee84350 100644
--- a/src/mame/drivers/nmg5.c
+++ b/src/mame/drivers/nmg5.c
@@ -1025,10 +1025,10 @@ static MACHINE_CONFIG_START( nmg5, nmg5_state )
MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
MCFG_DEVICE_ADD("spritegen", DECO_SPRITE, 0)
- decospr_device::set_gfx_region(*device, 1);
- decospr_device::set_is_bootleg(*device, true);
- decospr_device::set_flipallx(*device, 1);
- decospr_device::set_offsets(*device, 0,8);
+ MCFG_DECO_SPRITE_GFX_REGION(1)
+ MCFG_DECO_SPRITE_ISBOOTLEG(true)
+ MCFG_DECO_SPRITE_FLIPALLX(1)
+ MCFG_DECO_SPRITE_OFFSETS(0, 8)
MCFG_DECO_SPRITE_GFXDECODE("gfxdecode")
MCFG_DECO_SPRITE_PALETTE("palette")