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
{
// 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) {