X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fsh2%2Fmame%2Fsh2pico.c;h=97557e94927e1ad7e3816f90aba52f9f63681a14;hb=e15536775962fef2058ffa43cbb290271f649c17;hp=f321eb92f4a96ca6a063b08ec2533d56b4f4c45f;hpb=4943816bcded6f39324d6a832e6d0e687d74b8b0;p=picodrive.git diff --git a/cpu/sh2/mame/sh2pico.c b/cpu/sh2/mame/sh2pico.c index f321eb9..97557e9 100644 --- a/cpu/sh2/mame/sh2pico.c +++ b/cpu/sh2/mame/sh2pico.c @@ -73,7 +73,7 @@ int sh2_execute(SH2 *sh2, int cycles) { #ifdef DRC_CMP unsigned int base_pc = 0, end_pc = 0; - unsigned char op_flags[BLOCK_CYCLE_LIMIT]; + unsigned char op_flags[BLOCK_INSN_LIMIT]; #endif UINT32 opcode; @@ -93,7 +93,7 @@ int sh2_execute(SH2 *sh2, int cycles) scan_block(base_pc, sh2->is_slave, op_flags, &end_pc); } - if ((OP_FLAGS(sh2->pc) & OF_TARGET) || sh2->pc == base_pc) { + if ((OP_FLAGS(sh2->pc) & OF_BTARGET) || sh2->pc == base_pc) { if (sh2->icount < 0) break; }