mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 13:43:33 +01:00
PPCAnalyst: Fix handling of FL_READ_CR_BI
BI contains both the field and the flag (5 bits total), so we need to shift away the 2 flag bits to get the 3 field bits. (Same as the CRBA/CRBB handling in the code just below the BI code.)
This commit is contained in:
parent
e0e09d1074
commit
30eff8e37c
@ -590,7 +590,7 @@ void PPCAnalyzer::SetInstructionStats(CodeBlock* block, CodeOp* code,
|
||||
}
|
||||
else if (opinfo->flags & FL_READ_CR_BI)
|
||||
{
|
||||
code->crIn[code->inst.BI] = true;
|
||||
code->crIn[code->inst.BI >> 2] = true;
|
||||
}
|
||||
else if (opinfo->type == OpType::CR)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user