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/a2eramworks3.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/a2eramworks3.c')
-rw-r--r-- | src/mess/machine/a2eramworks3.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mess/machine/a2eramworks3.c b/src/mess/machine/a2eramworks3.c index 228050f4aba..bd7a24b7807 100644 --- a/src/mess/machine/a2eramworks3.c +++ b/src/mess/machine/a2eramworks3.c @@ -27,17 +27,15 @@ const device_type A2EAUX_RAMWORKS3 = &device_creator<a2eaux_ramworks3_device>; //************************************************************************** a2eaux_ramworks3_device::a2eaux_ramworks3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : - device_t(mconfig, A2EAUX_RAMWORKS3, "Applied Engineering RamWorks III", tag, owner, clock), + device_t(mconfig, A2EAUX_RAMWORKS3, "Applied Engineering RamWorks III", tag, owner, clock, "a2erwks3", __FILE__), device_a2eauxslot_card_interface(mconfig, *this) { - m_shortname = "a2erwks3"; } -a2eaux_ramworks3_device::a2eaux_ramworks3_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), +a2eaux_ramworks3_device::a2eaux_ramworks3_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_a2eauxslot_card_interface(mconfig, *this) { - m_shortname = "a2erwks3"; } //------------------------------------------------- |