fix clz for realsies
This commit is contained in:
parent
0060958fed
commit
a549977eb0
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue