cop400: Fixed debugger behavior on skip. (nw)

This commit is contained in:
Curt Coder 2017-01-16 11:54:44 +02:00
parent 6e031697b3
commit 650ca8b573

View File

@ -1068,9 +1068,11 @@ void cop400_cpu_device::execute_run()
{ {
do do
{ {
if (!m_skip) {
// debugger hook // debugger hook
m_prevpc = PC; m_prevpc = PC;
debugger_instruction_hook(this, PC); debugger_instruction_hook(this, PC);
}
// halt logic // halt logic
if (m_cko == COP400_CKO_HALT_IO_PORT) { if (m_cko == COP400_CKO_HALT_IO_PORT) {