summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/2203intf.c
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2014-05-06 17:37:43 +0000
committer Ivan Vangelista <mesgnet@yahoo.it>2014-05-06 17:37:43 +0000
commitda1252459f7578b481e8be16cc701c185e44fc73 (patch)
tree3c83f920691467be40ee9a63801dd1ab6a4224d4 /src/emu/sound/2203intf.c
parentc407543c9f5ff650f92ab736c0018f2185db7b21 (diff)
ay8910_device and extended family: converted to devcb2 (nw)
This is easily the commit I ever did that touches the most drivers. I payed extra attention while doing it, stared at the diff really hard to find any errors and did some testing. Obviously I can't test every single game / system, so please report any regression you might find.
Diffstat (limited to 'src/emu/sound/2203intf.c')
-rw-r--r--src/emu/sound/2203intf.c24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/emu/sound/2203intf.c b/src/emu/sound/2203intf.c
index ff535762d49..559255f0c68 100644
--- a/src/emu/sound/2203intf.c
+++ b/src/emu/sound/2203intf.c
@@ -188,28 +188,6 @@ const device_type YM2203 = &device_creator<ym2203_device>;
ym2203_device::ym2203_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ay8910_device(mconfig, YM2203, "YM2203", tag, owner, clock, "ym2203", __FILE__),
- m_irq_handler(*this),
- m_ay8910_config(NULL)
+ m_irq_handler(*this)
{
}
-
-//-------------------------------------------------
-// device_config_complete - perform any
-// operations now that the configuration is
-// complete
-//-------------------------------------------------
-
-void ym2203_device::device_config_complete()
-{
- static const ay8910_interface default_ay8910_config =
- {
- AY8910_LEGACY_OUTPUT,
- AY8910_DEFAULT_LOADS,
- DEVCB_NULL, DEVCB_NULL, DEVCB_NULL, DEVCB_NULL
- };
-
- if (m_ay8910_config != NULL)
- device_t::static_set_static_config(*this, m_ay8910_config);
- else
- device_t::static_set_static_config(*this, &(default_ay8910_config));
-}