summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/sed1200.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-03-26 15:18:37 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-03-26 15:18:37 +0000
commit051011971f9cce5ce1d99a9bfcf691bcf7975448 (patch)
tree7553b5907c3e67e02e4fd0a20f9f07e21a6c08ca /src/mess/machine/sed1200.c
parentffbe9bdcca43cb1f645cc0387f0835523471b97a (diff)
Expanded device_t constructor with parameters for short name and source file location [Miodrag Milanovic]
Diffstat (limited to 'src/mess/machine/sed1200.c')
-rw-r--r--src/mess/machine/sed1200.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/mess/machine/sed1200.c b/src/mess/machine/sed1200.c
index 81c14e185ff..22f84aedd39 100644
--- a/src/mess/machine/sed1200.c
+++ b/src/mess/machine/sed1200.c
@@ -60,29 +60,28 @@ ROM_START( sed1200x0b )
ROM_LOAD( "sed1200-b.bin", 0x000, 0x800, CRC(d0741f51) SHA1(c8c856f1357286a2c8c806af81724a828345357e))
ROM_END
-sed1200_device::sed1200_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)
+sed1200_device::sed1200_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)
{
- m_shortname = "sed1200";
}
sed1200d0a_device::sed1200d0a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
- sed1200_device(mconfig, SED1200D0A, "sed1200d-0a", tag, owner, clock)
+ sed1200_device(mconfig, SED1200D0A, "sed1200d-0a", tag, owner, clock, "sed1200", __FILE__)
{
}
sed1200f0a_device::sed1200f0a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
- sed1200_device(mconfig, SED1200F0A, "sed1200f-0a", tag, owner, clock)
+ sed1200_device(mconfig, SED1200F0A, "sed1200f-0a", tag, owner, clock, "sed1200", __FILE__)
{
}
sed1200d0b_device::sed1200d0b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
- sed1200_device(mconfig, SED1200D0B, "sed1200d-0b", tag, owner, clock)
+ sed1200_device(mconfig, SED1200D0B, "sed1200d-0b", tag, owner, clock, "sed1200", __FILE__)
{
}
sed1200f0b_device::sed1200f0b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
- sed1200_device(mconfig, SED1200F0B, "sed1200f-0b", tag, owner, clock)
+ sed1200_device(mconfig, SED1200F0B, "sed1200f-0b", tag, owner, clock, "sed1200", __FILE__)
{
}