]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Increase PC if $4afc breakpoint.
authorToni Wilen <twilen@winuae.net>
Sat, 14 Apr 2018 07:27:21 +0000 (10:27 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 14 Apr 2018 07:27:21 +0000 (10:27 +0300)
newcpu.cpp

index d7044b9fc96ad1c2c6a30c4b8aa38f81a867a1e9..8bbef03c0611801a68c203b1bce6f9a33a49c42a 100644 (file)
@@ -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);