From: Toni Wilen Date: Sat, 14 Apr 2018 07:27:21 +0000 (+0300) Subject: Increase PC if $4afc breakpoint. X-Git-Tag: 4000~129 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=2b7c4e9440cb593eb69d340488aa1520c2ebab43;p=francis%2Fwinuae.git Increase PC if $4afc breakpoint. --- diff --git a/newcpu.cpp b/newcpu.cpp index d7044b9f..8bbef03c 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -3977,8 +3977,10 @@ uae_u32 REGPARAM2 op_illg (uae_u32 opcode) return 4; } - if (debugmem_illg(opcode)) + if (debugmem_illg(opcode)) { + m68k_incpc_normal(2); return 4; + } if (cloanto_rom && (opcode & 0xF100) == 0x7100) { m68k_dreg (regs, (opcode >> 9) & 7) = (uae_s8)(opcode & 0xFF);