summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/timekpr.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-06-21 14:44:06 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-06-21 14:44:06 +0000
commite533a04f2e5690bfc2edac2dc2038f94b4bd903d (patch)
tree583486a98fa559fb449211bece50f1af9790b497 /src/emu/machine/timekpr.c
parentd49ea91e69b0406f3fc2de6034819498661dd93a (diff)
changed rest of devices (except cpu cores) to have shortname and sourcefile (nw)
Diffstat (limited to 'src/emu/machine/timekpr.c')
-rw-r--r--src/emu/machine/timekpr.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/emu/machine/timekpr.c b/src/emu/machine/timekpr.c
index dc7008fda74..1ba33fd46d8 100644
--- a/src/emu/machine/timekpr.c
+++ b/src/emu/machine/timekpr.c
@@ -117,14 +117,14 @@ static int counter_from_ram( UINT8 *data, int offset )
// timekeeper_device_config - constructor
//-------------------------------------------------
-timekeeper_device::timekeeper_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),
+timekeeper_device::timekeeper_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_nvram_interface(mconfig, *this)
{
}
m48t02_device::m48t02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : timekeeper_device(mconfig, M48T02, "M48T02", tag, owner, clock)
+ : timekeeper_device(mconfig, M48T02, "M48T02", tag, owner, clock, "m48t02", __FILE__)
{
m_offset_control = 0x7f8;
m_offset_seconds = 0x7f9;
@@ -140,7 +140,7 @@ m48t02_device::m48t02_device(const machine_config &mconfig, const char *tag, dev
}
m48t35_device::m48t35_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : timekeeper_device(mconfig, M48T35, "M48T35", tag, owner, clock)
+ : timekeeper_device(mconfig, M48T35, "M48T35", tag, owner, clock, "m48t35", __FILE__)
{
m_offset_control = 0x7ff8;
m_offset_seconds = 0x7ff9;
@@ -156,7 +156,7 @@ m48t35_device::m48t35_device(const machine_config &mconfig, const char *tag, dev
}
m48t37_device::m48t37_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : timekeeper_device(mconfig, M48T37, "M48T37", tag, owner, clock)
+ : timekeeper_device(mconfig, M48T37, "M48T37", tag, owner, clock, "m48t37", __FILE__)
{
m_offset_control = 0x7ff8;
m_offset_seconds = 0x7ff9;
@@ -172,7 +172,7 @@ m48t37_device::m48t37_device(const machine_config &mconfig, const char *tag, dev
}
m48t58_device::m48t58_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : timekeeper_device(mconfig, M48T58, "M48T58", tag, owner, clock)
+ : timekeeper_device(mconfig, M48T58, "M48T58", tag, owner, clock, "m48t58", __FILE__)
{
m_offset_control = 0x1ff8;
m_offset_seconds = 0x1ff9;
@@ -188,7 +188,7 @@ m48t58_device::m48t58_device(const machine_config &mconfig, const char *tag, dev
}
mk48t08_device::mk48t08_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : timekeeper_device(mconfig, MK48T08, "MK48T08", tag, owner, clock)
+ : timekeeper_device(mconfig, MK48T08, "MK48T08", tag, owner, clock, "m48t08", __FILE__)
{
m_offset_control = 0x1ff8;
m_offset_seconds = 0x1ff9;