mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
tmp68301_device: initialized variables (nw)
This commit is contained in:
parent
277cb84661
commit
8533f2617b
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user