summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/nec/nec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/nec/nec.cpp')
-rw-r--r--src/devices/cpu/nec/nec.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/devices/cpu/nec/nec.cpp b/src/devices/cpu/nec/nec.cpp
index 49138a745c6..1f9e28799f8 100644
--- a/src/devices/cpu/nec/nec.cpp
+++ b/src/devices/cpu/nec/nec.cpp
@@ -108,6 +108,11 @@
#include "nec.h"
#include "necdasm.h"
+#define LOG_BUSLOCK (1 << 1)
+//#define VERBOSE (...)
+
+#include "logmacro.h"
+
typedef uint8_t BOOLEAN;
typedef uint8_t BYTE;
typedef uint16_t WORD;
@@ -626,8 +631,8 @@ void nec_common_device::execute_run()
if (m_halted)
{
+ debugger_wait_hook();
m_icount = 0;
- debugger_instruction_hook((Sreg(PS)<<4) + m_ip);
return;
}