fixed usage of uninitialized members in tms7000_device (nw)

This commit is contained in:
Oliver Stöneberg 2014-04-25 13:35:39 +00:00
parent 4d08988cd3
commit e4a572e34f

View File

@ -160,6 +160,9 @@ void tms7000_device::device_start()
m_t1_capture_latch = 0;
m_t1_prescaler = 0;
m_t1_decrementer = 0;
memset(&m_pc, 0x00, sizeof(m_pc));
m_sp = 0;
m_sr = 0;
/* Save register state */
save_item(NAME(pPC));