fix JIT backjump detection

pretty embarrassing to loop variable mixup
This commit is contained in:
RSDuck 2023-04-13 01:49:10 +02:00
parent a864f845e0
commit e8967a937c
1 changed files with 1 additions and 1 deletions

View File

@ -818,7 +818,7 @@ void CompileBlock(ARM* cpu)
{
for (int j = 0; j < i; j++)
{
if (instrs[i].Addr == target)
if (instrs[j].Addr == target)
{
isBackJump = true;
break;