mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
fix clz for realsies
This commit is contained in:
@ -1078,7 +1078,7 @@ void A_CLZ(ARM* cpu)
|
|||||||
val |= 0x1;
|
val |= 0x1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((cpu->CurInstr >> 12) & 0xF == 15) cpu->JumpTo(res & ~1);
|
if (((cpu->CurInstr >> 12) & 0xF) == 15) cpu->JumpTo(res & ~1);
|
||||||
else cpu->R[(cpu->CurInstr >> 12) & 0xF] = res;
|
else cpu->R[(cpu->CurInstr >> 12) & 0xF] = res;
|
||||||
cpu->AddCycles_C();
|
cpu->AddCycles_C();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user