summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Curt Coder <curtcoder@mail.com>2014-12-06 19:05:05 +0200
committerGravatarGravatar Curt Coder <curtcoder@mail.com>2014-12-06 19:05:13 +0200
commit1245ccba8c6d7753644a4a505c688bbad47e2563 (patch) (github)
tree83c52774992bb963bd1da36461941e5ba66de0f7
parentbd1c776e8937ef576a05054c4cacb5df12754731 (diff)
downloadmame-1245ccba8c6d7753644a4a505c688bbad47e2563.tar.bz2
mame-1245ccba8c6d7753644a4a505c688bbad47e2563.zip
i86: Fixed debugging with segment prefixes. (nw)
-rw-r--r--src/emu/cpu/i86/i86.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emu/cpu/i86/i86.c b/src/emu/cpu/i86/i86.c
index f12a25c19cd..bbc56e943b1 100644
--- a/src/emu/cpu/i86/i86.c
+++ b/src/emu/cpu/i86/i86.c
@@ -178,7 +178,10 @@ void i8086_cpu_device::execute_run()
}
}
- debugger_instruction_hook( this, pc() );
+ if (!m_seg_prefix)
+ {
+ debugger_instruction_hook( this, pc() );
+ }
UINT8 op = fetch_op();