summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/toaplan1.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-11-23 17:50:48 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2018-11-23 17:50:48 +0100
commitebbd25c8665321f51ba35d573dbc3fc49dbf867f (patch)
tree62e7857bdc11b712d6707a0ff3623377dc5ca373 /src/mame/drivers/toaplan1.cpp
parentc4fc5d7f675913bf5f62885080e68c7a328d7f43 (diff)
mame/video: more macro removal (nw)
Diffstat (limited to 'src/mame/drivers/toaplan1.cpp')
-rw-r--r--src/mame/drivers/toaplan1.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/toaplan1.cpp b/src/mame/drivers/toaplan1.cpp
index 4b11aa421d9..8599036800e 100644
--- a/src/mame/drivers/toaplan1.cpp
+++ b/src/mame/drivers/toaplan1.cpp
@@ -1936,7 +1936,9 @@ MACHINE_CONFIG_START(toaplan1_rallybik_state::rallybik)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, toaplan1_rallybik_state, screen_vblank_rallybik))
MCFG_SCREEN_PALETTE("palette")
- MCFG_TOAPLAN_SCU_ADD("scu", "palette", 31, 15)
+ TOAPLAN_SCU(config, m_spritegen, 0);
+ m_spritegen->set_palette(m_palette);
+ m_spritegen->set_xoffsets(31, 15);
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_rallybik)
MCFG_PALETTE_ADD("palette", (64*16)+(64*16))