summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2015-03-23 19:16:12 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2015-03-23 19:16:12 +0100
commit8533f2617b4029663366ffe3fa0403e9c17a5db8 (patch)
treea6fd85dda0d67cf10f8fad006d328c1f3324f084 /src
parent277cb84661e0628121fff3ec0082cfddf5a4ca92 (diff)
tmp68301_device: initialized variables (nw)
Diffstat (limited to 'src')
-rw-r--r--src/emu/machine/tmp68301.c7
-rw-r--r--src/mame/includes/seta2.h2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/emu/machine/tmp68301.c b/src/emu/machine/tmp68301.c
index d9793f0fefd..9795e075b4a 100644
--- a/src/emu/machine/tmp68301.c
+++ b/src/emu/machine/tmp68301.c
@@ -99,8 +99,15 @@ tmp68301_device::tmp68301_device(const machine_config &mconfig, const char *tag,
device_memory_interface(mconfig, *this),
m_in_parallel_cb(*this),
m_out_parallel_cb(*this),
+ m_imr(0),
+ m_iisr(0),
+ m_scr(0),
+ m_pdir(0),
m_space_config("regs", ENDIANNESS_LITTLE, 16, 10, 0, NULL, *ADDRESS_MAP_NAME(tmp68301_regs))
{
+ memset(m_regs, 0, sizeof(m_regs));
+ memset(m_IE, 0, sizeof(m_IE));
+ memset(m_irq_vector, 0, sizeof(m_irq_vector));
}
diff --git a/src/mame/includes/seta2.h b/src/mame/includes/seta2.h
index 5bfca4ffbad..31c86630548 100644
--- a/src/mame/includes/seta2.h
+++ b/src/mame/includes/seta2.h
@@ -10,7 +10,6 @@ public:
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_tmp68301(*this, "tmp68301"),
- m_x1(*this, "x1snd"),
m_oki(*this, "oki"),
m_eeprom(*this, "eeprom"),
m_gfxdecode(*this, "gfxdecode"),
@@ -24,7 +23,6 @@ public:
required_device<cpu_device> m_maincpu;
optional_device<tmp68301_device> m_tmp68301;
- optional_device<x1_010_device> m_x1;
optional_device<okim9810_device> m_oki;
optional_device<eeprom_serial_93cxx_device> m_eeprom;
required_device<gfxdecode_device> m_gfxdecode;