diff options
author | Oliver Stöneberg <firewave@users.noreply.github.com> | 2013-03-08 16:46:23 +0000 |
---|---|---|
committer | Oliver Stöneberg <firewave@users.noreply.github.com> | 2013-03-08 16:46:23 +0000 |
commit | 2a3f68dad4f20a07577cccb0926a557d609b160c (patch) | |
tree | aa66bc083138ec8682ff86ce1607c642fa09418e /src/mess/machine/cococart.c | |
parent | e0da68add264acb730d34dcfce5a0f3c44455769 (diff) |
(MESS) fixed uninitialized members in src/mess/machine/cococart.c (nw)
Diffstat (limited to 'src/mess/machine/cococart.c')
-rw-r--r-- | src/mess/machine/cococart.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mess/machine/cococart.c b/src/mess/machine/cococart.c index 16a30888e88..203922a116e 100644 --- a/src/mess/machine/cococart.c +++ b/src/mess/machine/cococart.c @@ -68,6 +68,7 @@ void cococart_slot_device::device_start() m_cart_line.timer_index = 0; m_cart_line.delay = 0; m_cart_line.value = COCOCART_LINE_VALUE_CLEAR; + m_cart_line.line = 0; m_cart_line.q_count = 0; m_cart_line.callback.resolve(m_cart_callback, *this); @@ -75,6 +76,7 @@ void cococart_slot_device::device_start() /* 12 allowed one more instruction to finished after the line is pulled */ m_nmi_line.delay = 12; m_nmi_line.value = COCOCART_LINE_VALUE_CLEAR; + m_nmi_line.line = 0; m_nmi_line.q_count = 0; m_nmi_line.callback.resolve(m_nmi_callback, *this); @@ -82,6 +84,7 @@ void cococart_slot_device::device_start() /* 6 allowed one more instruction to finished after the line is pulled */ m_halt_line.delay = 6; m_halt_line.value = COCOCART_LINE_VALUE_CLEAR; + m_halt_line.line = 0; m_halt_line.q_count = 0; m_halt_line.callback.resolve(m_halt_callback, *this); |