mirror of
https://github.com/holub/mame
synced 2025-06-25 22:04:15 +03:00
m68hc05: Only reset due to NCOP when it's enabled
This commit is contained in:
parent
cb15631d6a
commit
1455df4ff5
@ -654,7 +654,7 @@ void m68hc05_device::burn_cycles(unsigned count)
|
||||
|
||||
// run non-programmable COP
|
||||
m_ncop_cnt += count;
|
||||
if ((u32(1) << 17) <= m_ncop_cnt)
|
||||
if (m_ncope && ((u32(1) << 17) <= m_ncop_cnt))
|
||||
{
|
||||
pulse_input_line(INPUT_LINE_RESET, attotime::zero);
|
||||
LOGCOP("NCOP reset\n");
|
||||
|
Loading…
Reference in New Issue
Block a user