summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-03-03 11:46:19 -0500
committer AJR <ajrhacker@users.noreply.github.com>2017-03-03 11:46:19 -0500
commitf148c84eb3158bfb37dc1cb1bca044c1f746cfb9 (patch)
tree22e56f05256eaee07551c79ee36f9c166f55898c
parent3570cb092dd740be8fe843b9d659d3375308fc10 (diff)
Device validation fixes: Galaxy Games, Midway, Sega, DECO (nw)
-rw-r--r--src/mame/drivers/galgames.cpp2
-rw-r--r--src/mame/machine/decopincpu.cpp2
-rw-r--r--src/mame/machine/midwayic.cpp11
-rw-r--r--src/mame/machine/segaic16.cpp2
4 files changed, 5 insertions, 12 deletions
diff --git a/src/mame/drivers/galgames.cpp b/src/mame/drivers/galgames.cpp
index 88f9ead0c23..7681b9c3c22 100644
--- a/src/mame/drivers/galgames.cpp
+++ b/src/mame/drivers/galgames.cpp
@@ -186,7 +186,7 @@ class galgames_starpak2_cart_device : public galgames_cart_device
public:
// construction/destruction
galgames_starpak2_cart_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- galgames_cart_device(mconfig, GALGAMES_STARPAK2_CART, "Galaxy Games StarPak 3 Cartridge", tag, owner, clock, "starpak2_cart", __FILE__)
+ galgames_cart_device(mconfig, GALGAMES_STARPAK2_CART, "Galaxy Games StarPak 2 Cartridge", tag, owner, clock, "starpak2_cart", __FILE__)
{ }
protected:
// device-level overrides
diff --git a/src/mame/machine/decopincpu.cpp b/src/mame/machine/decopincpu.cpp
index 71ee0359f65..38082be8ad4 100644
--- a/src/mame/machine/decopincpu.cpp
+++ b/src/mame/machine/decopincpu.cpp
@@ -360,7 +360,7 @@ void decocpu_type3_device::device_start()
}
decocpu_type3b_device::decocpu_type3b_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : decocpu_type3_device(mconfig, DECOCPU3, "Data East Pinball CPU Board Type 3B", tag, owner, clock, "decocpu3b", __FILE__)
+ : decocpu_type3_device(mconfig, DECOCPU3B, "Data East Pinball CPU Board Type 3B", tag, owner, clock, "decocpu3b", __FILE__)
{}
void decocpu_type3b_device::device_start()
diff --git a/src/mame/machine/midwayic.cpp b/src/mame/machine/midwayic.cpp
index c5b43035d14..1a6cac2b1e0 100644
--- a/src/mame/machine/midwayic.cpp
+++ b/src/mame/machine/midwayic.cpp
@@ -109,19 +109,12 @@ const device_type MIDWAY_SERIAL_PIC = device_creator<midway_serial_pic_device>;
//-------------------------------------------------
-// midway_serial_pic2_device - constructor
+// midway_serial_pic_device - constructor
//-------------------------------------------------
midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, MIDWAY_SERIAL_PIC2, "Midway Serial Pic Simulation", tag, owner, clock, "midway_serial_pic_sim", __FILE__),
- m_upper(0),
- m_buff(0),
- m_idx(0),
- m_status(0),
- m_bits(0),
- m_ormask(0)
+ midway_serial_pic_device(mconfig, MIDWAY_SERIAL_PIC, "Midway Serial Pic Simulation", tag, owner, clock, "midway_serial_pic_sim", __FILE__)
{
- memset(m_data,0,sizeof(m_data));
}
midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source) :
diff --git a/src/mame/machine/segaic16.cpp b/src/mame/machine/segaic16.cpp
index ecb16a4bf73..f1def1e17af 100644
--- a/src/mame/machine/segaic16.cpp
+++ b/src/mame/machine/segaic16.cpp
@@ -807,7 +807,7 @@ void sega_315_5248_multiplier_device::device_reset()
//-------------------------------------------------
sega_315_5249_divider_device::sega_315_5249_divider_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, SEGA_315_5248_MULTIPLIER, "Sega 315-5249 Divider", tag, owner, clock, "sega_315_5249", __FILE__)
+ : device_t(mconfig, SEGA_315_5249_DIVIDER, "Sega 315-5249 Divider", tag, owner, clock, "sega_315_5249", __FILE__)
{
}