m6800.c: Initialize some more variables on startup (nw)

This commit is contained in:
Wilbert Pol 2013-09-28 13:09:32 +00:00
parent 0998aa44e0
commit 4459c6f6f0

View File

@ -1051,6 +1051,11 @@ void m6800_cpu_device::device_start()
m_tdr = 0; m_tdr = 0;
m_ram_ctrl = 0; m_ram_ctrl = 0;
m_s.d = 0;
m_x.d = 0;
m_d.d = 0;
m_irq_state[0] = m_irq_state[1] = m_irq_state[2] = 0;
save_item(NAME(m_ppc.w.l)); save_item(NAME(m_ppc.w.l));
save_item(NAME(m_pc.w.l)); save_item(NAME(m_pc.w.l));
save_item(NAME(m_s.w.l)); save_item(NAME(m_s.w.l));