summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gaiden.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gaiden.cpp')
-rw-r--r--src/mame/drivers/gaiden.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/gaiden.cpp b/src/mame/drivers/gaiden.cpp
index 276e10b4d5d..7e15ae29114 100644
--- a/src/mame/drivers/gaiden.cpp
+++ b/src/mame/drivers/gaiden.cpp
@@ -777,8 +777,8 @@ MACHINE_CONFIG_START(gaiden_state::shadoww)
MCFG_PALETTE_ADD("palette", 4096)
MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
- MCFG_DEVICE_ADD("spritegen", TECMO_SPRITE, 0)
- MCFG_TECMO_SPRITE_GFX_REGION(3)
+ TECMO_SPRITE(config, m_sprgen, 0);
+ m_sprgen->set_gfx_region(3);
TECMO_MIXER(config, m_mixer, 0);
m_mixer->set_mixer_shifts(10,9,4);