fix JIT backjump detection
pretty embarrassing to loop variable mixup
This commit is contained in:
parent
a864f845e0
commit
e8967a937c
|
@ -818,7 +818,7 @@ void CompileBlock(ARM* cpu)
|
||||||
{
|
{
|
||||||
for (int j = 0; j < i; j++)
|
for (int j = 0; j < i; j++)
|
||||||
{
|
{
|
||||||
if (instrs[i].Addr == target)
|
if (instrs[j].Addr == target)
|
||||||
{
|
{
|
||||||
isBackJump = true;
|
isBackJump = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue