Skip to content

Commit

Permalink
fix JIT backjump detection
Browse files Browse the repository at this point in the history
pretty embarrassing to loop variable mixup
  • Loading branch information
RSDuck committed Apr 12, 2023
1 parent a864f84 commit e8967a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ARMJIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e8967a9

Please sign in to comment.