summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tecmo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tecmo.cpp')
-rw-r--r--src/mame/drivers/tecmo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/tecmo.cpp b/src/mame/drivers/tecmo.cpp
index c5dfa0a140f..749e7314790 100644
--- a/src/mame/drivers/tecmo.cpp
+++ b/src/mame/drivers/tecmo.cpp
@@ -723,7 +723,7 @@ MACHINE_CONFIG_START(tecmo_state::rygar)
MCFG_PALETTE_FORMAT(xxxxBBBBRRRRGGGG)
MCFG_PALETTE_ENDIANNESS(ENDIANNESS_BIG)
- MCFG_DEVICE_ADD("spritegen", TECMO_SPRITE, 0)
+ TECMO_SPRITE(config, m_sprgen, 0);
/* sound hardware */
SPEAKER(config, "mono").front_center();