diff options
author | 2020-04-02 17:21:22 +0200 | |
---|---|---|
committer | 2020-04-02 18:03:32 +0200 | |
commit | 1455df4ff57defaddac250d9fd4fb72fe600d42c (patch) | |
tree | be7dbb07dff39c7c8bab71e57c09e93665fed382 /src | |
parent | cb15631d6ab8448f1adb077fd747792f4773474a (diff) |
m68hc05: Only reset due to NCOP when it's enabled
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/cpu/m6805/m68hc05.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m6805/m68hc05.cpp b/src/devices/cpu/m6805/m68hc05.cpp index 94db9a7c872..14c40020c47 100644 --- a/src/devices/cpu/m6805/m68hc05.cpp +++ b/src/devices/cpu/m6805/m68hc05.cpp @@ -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"); |