From: Toni Wilen Date: Sun, 1 Sep 2019 16:50:19 +0000 (+0300) Subject: Include also CHK2/CMP2 select bit. X-Git-Tag: 4300~129 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=49a897d01e4130ef607d0735bc463fae015b7681;p=francis%2Fwinuae.git Include also CHK2/CMP2 select bit. --- diff --git a/cputest.cpp b/cputest.cpp index 03afa194..0bbbf09f 100644 --- a/cputest.cpp +++ b/cputest.cpp @@ -1587,11 +1587,11 @@ static void handle_specials_extra(uae_u16 opcode, uaecptr pc, struct instr *dp) } break; } - case i_CHK2: + case i_CHK2: // also CMP2 { uae_u16 extra = get_word_test(opcode_memory_start + 2); uae_u16 extra2 = extra; - extra &= (15 << 12); + extra &= (31 << 11); if (extra != extra2) { put_word_test(opcode_memory_start + 2, extra); }