mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
fix JIT backjump detection
pretty embarrassing to loop variable mixup
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user