fixed usage of uninitialized member and heap-buffer-overflow in cosmac_device (nw)

This commit is contained in:
Oliver Stöneberg 2014-05-08 18:32:13 +00:00
parent 6ee6c86c69
commit 90f5269535

View File

@ -401,6 +401,7 @@ void cosmac_device::device_reset()
m_ie = 0;
m_q = 0;
m_df = 0;
m_p = 0;
rand_memory(m_r, sizeof(m_r));
}