summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/rainbow.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-02-19 20:19:15 +1100
committer Vas Crabb <vas@vastheman.com>2019-02-19 20:19:15 +1100
commit798368509692350152e06a5c4eedce05b1bac7ca (patch)
treeddcdb7186df66795ffb3fb9335bbd8b41ca88d0a /src/mame/drivers/rainbow.cpp
parent4f049026f6c76f531f6bd1faeaa06d1d97db274b (diff)
(nw) clean up trivial stuff - the device delegate boilerplate is ugly, I will address it ASAP
Diffstat (limited to 'src/mame/drivers/rainbow.cpp')
-rw-r--r--src/mame/drivers/rainbow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/rainbow.cpp b/src/mame/drivers/rainbow.cpp
index f51d0f6248a..3b3e769e4c1 100644
--- a/src/mame/drivers/rainbow.cpp
+++ b/src/mame/drivers/rainbow.cpp
@@ -3233,7 +3233,7 @@ MACHINE_CONFIG_START(rainbow_state::rainbow)
m_hgdc->vsync_wr_callback().set(FUNC(rainbow_state::GDC_vblank_irq)); // "The vsync callback line needs to be below the 7220 DEVICE_ADD line."
m_hgdc->set_addrmap(0, &rainbow_state::upd7220_map);
- m_hgdc->set_display_pixels_callback(FUNC(rainbow_state::hgdc_display_pixels), this);
+ m_hgdc->set_display_pixels(FUNC(rainbow_state::hgdc_display_pixels));
m_hgdc->set_screen(m_screen2); // set_screen needs to be added after 7720 device in the machine config, not after the screen.
MCFG_PALETTE_ADD("palette2", 32)