diff options
| author | 2017-01-16 11:54:44 +0200 | |
|---|---|---|
| committer | 2017-01-16 11:54:54 +0200 | |
| commit | 650ca8b573ecbf408c837eeb91f6cbe3ac07e34e (patch) | |
| tree | 3b226f950c653cb9770b1eae5acc43b2a05ba119 | |
| parent | 6e031697b3ae8798f4188ad55ea3ce3c537a842d (diff) | |
cop400: Fixed debugger behavior on skip. (nw)
| -rw-r--r-- | src/devices/cpu/cop400/cop400.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/cpu/cop400/cop400.cpp b/src/devices/cpu/cop400/cop400.cpp index 459375fb40d..94435e17a35 100644 --- a/src/devices/cpu/cop400/cop400.cpp +++ b/src/devices/cpu/cop400/cop400.cpp @@ -1068,9 +1068,11 @@ void cop400_cpu_device::execute_run() { do { - // debugger hook - m_prevpc = PC; - debugger_instruction_hook(this, PC); + if (!m_skip) { + // debugger hook + m_prevpc = PC; + debugger_instruction_hook(this, PC); + } // halt logic if (m_cko == COP400_CKO_HALT_IO_PORT) { |
