diff options
author | 2013-03-26 15:18:37 +0000 | |
---|---|---|
committer | 2013-03-26 15:18:37 +0000 | |
commit | 051011971f9cce5ce1d99a9bfcf691bcf7975448 (patch) | |
tree | 7553b5907c3e67e02e4fd0a20f9f07e21a6c08ca /src/mess/machine/a2midi.c | |
parent | ffbe9bdcca43cb1f645cc0387f0835523471b97a (diff) |
Expanded device_t constructor with parameters for short name and source file location [Miodrag Milanovic]
Diffstat (limited to 'src/mess/machine/a2midi.c')
-rw-r--r-- | src/mess/machine/a2midi.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mess/machine/a2midi.c b/src/mess/machine/a2midi.c index aa4777e8c88..9b8e4b23188 100644 --- a/src/mess/machine/a2midi.c +++ b/src/mess/machine/a2midi.c @@ -84,23 +84,21 @@ machine_config_constructor a2bus_midi_device::device_mconfig_additions() const //************************************************************************** a2bus_midi_device::a2bus_midi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, A2BUS_MIDI, "6850 MIDI card", tag, owner, clock), + device_t(mconfig, A2BUS_MIDI, "6850 MIDI card", tag, owner, clock, "a2midi", __FILE__), device_a2bus_card_interface(mconfig, *this), m_ptm(*this, MIDI_PTM_TAG), m_acia(*this, MIDI_ACIA_TAG), m_mdout(*this, "mdout") { - m_shortname = "a2midi"; } -a2bus_midi_device::a2bus_midi_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, type, name, tag, owner, clock), +a2bus_midi_device::a2bus_midi_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : + device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_a2bus_card_interface(mconfig, *this), m_ptm(*this, MIDI_PTM_TAG), m_acia(*this, MIDI_ACIA_TAG), m_mdout(*this, "mdout") { - m_shortname = "a2midi"; } //------------------------------------------------- |