From 051011971f9cce5ce1d99a9bfcf691bcf7975448 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 26 Mar 2013 15:18:37 +0000 Subject: Expanded device_t constructor with parameters for short name and source file location [Miodrag Milanovic] --- src/mess/machine/kc_ram.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/mess/machine/kc_ram.c') diff --git a/src/mess/machine/kc_ram.c b/src/mess/machine/kc_ram.c index 26a3c13089c..29853a7d5b0 100644 --- a/src/mess/machine/kc_ram.c +++ b/src/mess/machine/kc_ram.c @@ -41,13 +41,13 @@ const device_type KC_M036 = &device_creator; //------------------------------------------------- kc_m011_device::kc_m011_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, KC_M011, "M011 64KB RAM", tag, owner, clock), + : device_t(mconfig, KC_M011, "M011 64KB RAM", tag, owner, clock, "kc_m011", __FILE__), device_kcexp_interface( mconfig, *this ) { } -kc_m011_device::kc_m011_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), +kc_m011_device::kc_m011_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_kcexp_interface( mconfig, *this ) { } @@ -146,7 +146,7 @@ WRITE_LINE_MEMBER( kc_m011_device::mei_w ) //------------------------------------------------- kc_m022_device::kc_m022_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : kc_m011_device(mconfig, KC_M022, "M022 16KB RAM", tag, owner, clock) + : kc_m011_device(mconfig, KC_M022, "M022 16KB RAM", tag, owner, clock, "kc_m022", __FILE__) { } @@ -191,7 +191,7 @@ void kc_m022_device::write(offs_t offset, UINT8 data) //------------------------------------------------- kc_m032_device::kc_m032_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : kc_m011_device(mconfig, KC_M032, "M032 256KB segmented RAM", tag, owner, clock) + : kc_m011_device(mconfig, KC_M032, "M032 256KB segmented RAM", tag, owner, clock, "kc_m032", __FILE__) { } @@ -260,7 +260,7 @@ void kc_m032_device::write(offs_t offset, UINT8 data) //------------------------------------------------- kc_m034_device::kc_m034_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : kc_m011_device(mconfig, KC_M034, "M034 512KB segmented RAM", tag, owner, clock) + : kc_m011_device(mconfig, KC_M034, "M034 512KB segmented RAM", tag, owner, clock, "kc_m034", __FILE__) { } @@ -329,7 +329,7 @@ void kc_m034_device::write(offs_t offset, UINT8 data) //------------------------------------------------- kc_m035_device::kc_m035_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : kc_m011_device(mconfig, KC_M035, "M035 1MB segmented RAM", tag, owner, clock) + : kc_m011_device(mconfig, KC_M035, "M035 1MB segmented RAM", tag, owner, clock, "kc_m035", __FILE__) { } @@ -387,7 +387,7 @@ void kc_m035_device::write(offs_t offset, UINT8 data) //------------------------------------------------- kc_m036_device::kc_m036_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : kc_m011_device(mconfig, KC_M036, "M036 128KB segmented RAM", tag, owner, clock) + : kc_m011_device(mconfig, KC_M036, "M036 128KB segmented RAM", tag, owner, clock, "kc_m036", __FILE__) { } -- cgit v1.2.3-70-g09d2