mirror of
https://github.com/holub/mame
synced 2025-05-07 23:02:33 +03:00
fixed uninitialized memory in src/emu/machine/z80dma.c (nw)
This commit is contained in:
parent
1b0f8e1434
commit
7c1a6e7ed9
@ -230,6 +230,7 @@ void z80dma_device::device_reset()
|
|||||||
m_read_num_follow = m_read_cur_follow = 0;
|
m_read_num_follow = m_read_cur_follow = 0;
|
||||||
m_reset_pointer = 0;
|
m_reset_pointer = 0;
|
||||||
m_is_read = false;
|
m_is_read = false;
|
||||||
|
memset(m_regs, 0, sizeof(m_regs));
|
||||||
memset(m_regs_follow, 0, sizeof(m_regs_follow));
|
memset(m_regs_follow, 0, sizeof(m_regs_follow));
|
||||||
|
|
||||||
// disable interrupts
|
// disable interrupts
|
||||||
|
Loading…
Reference in New Issue
Block a user