summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/dec_lk201.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/dec_lk201.c
parentffbe9bdcca43cb1f645cc0387f0835523471b97a (diff)
Expanded device_t constructor with parameters for short name and source file location [Miodrag Milanovic]
Diffstat (limited to 'src/mess/machine/dec_lk201.c')
-rw-r--r--src/mess/machine/dec_lk201.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mess/machine/dec_lk201.c b/src/mess/machine/dec_lk201.c
index 907c69be1bd..e14b8119252 100644
--- a/src/mess/machine/dec_lk201.c
+++ b/src/mess/machine/dec_lk201.c
@@ -73,7 +73,7 @@ const rom_entry *lk201_device::device_rom_region() const
//-------------------------------------------------
lk201_device::lk201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : device_t(mconfig, LK201, "DEC LK201 keyboard", tag, owner, clock),
+ : device_t(mconfig, LK201, "DEC LK201 keyboard", tag, owner, clock, "lk201", __FILE__),
m_maincpu(*this, LK201_CPU_TAG)
{
}
@@ -95,11 +95,6 @@ void lk201_device::device_reset()
{
}
-void lk201_device::device_config_complete()
-{
- m_shortname = "lk201";
-}
-
READ8_MEMBER( lk201_device::ddr_r )
{
return ddrs[offset];