diff options
Diffstat (limited to 'src/mame/drivers/dynadice.cpp')
-rw-r--r-- | src/mame/drivers/dynadice.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/dynadice.cpp b/src/mame/drivers/dynadice.cpp index a38dfb20320..f1a30943fcf 100644 --- a/src/mame/drivers/dynadice.cpp +++ b/src/mame/drivers/dynadice.cpp @@ -47,12 +47,13 @@ dy_6.bin (near Z80) class dynadice_state : public driver_device { public: - dynadice_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag), + dynadice_state(const machine_config &mconfig, device_type type, const char *tag) : + driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), - m_ay8910(*this, "ay8910") { } + m_ay8910(*this, "ay8910") + { } void dynadice(machine_config &config); @@ -283,7 +284,7 @@ MACHINE_CONFIG_START(dynadice_state::dynadice) MCFG_SCREEN_PALETTE("palette") MCFG_DEVICE_ADD(m_gfxdecode, GFXDECODE, "palette", gfx_dynadice) - MCFG_PALETTE_ADD_3BIT_BRG("palette") + PALETTE(config, "palette", palette_device::BRG_3BIT); SPEAKER(config, "mono").front_center(); |