summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dccons.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-11-21 18:13:26 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2018-11-21 18:13:26 +0100
commitdec633d2dcccb28005d700614d635b577a699b93 (patch)
treed2dcb93fb967226fa0d7bcab6b240ea47fd938e0 /src/mame/drivers/dccons.cpp
parent547e7f53bec3da6b9b4949e80a3c3ac235e413ad (diff)
src/mame/video: switched various devices to devcb3 and removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/dccons.cpp')
-rw-r--r--src/mame/drivers/dccons.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/dccons.cpp b/src/mame/drivers/dccons.cpp
index ecaf04deff5..4457cacf7d8 100644
--- a/src/mame/drivers/dccons.cpp
+++ b/src/mame/drivers/dccons.cpp
@@ -617,7 +617,8 @@ MACHINE_CONFIG_START(dc_cons_state::dc)
MCFG_SCREEN_RAW_PARAMS(13458568*2, 857, 0, 640, 524, 0, 480) /* TODO: where pclk actually comes? */
MCFG_SCREEN_UPDATE_DEVICE("powervr2", powervr2_device, screen_update)
MCFG_PALETTE_ADD("palette", 0x1000)
- MCFG_POWERVR2_ADD("powervr2", WRITE8(*this, dc_state, pvr_irq))
+ POWERVR2(config, m_powervr2, 0);
+ m_powervr2->irq_callback().set(FUNC(dc_state::pvr_irq));
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();