mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
Merge pull request #10284 from JosJuice/no-blr-cr
PPCAnalyst: Don't treat blr as writing to CR
This commit is contained in:
commit
dc7ea16705
@ -645,13 +645,6 @@ void PPCAnalyzer::SetInstructionStats(CodeBlock* block, CodeOp* code, const Gekk
|
||||
if (opinfo->flags & FL_IN_FLOAT_S)
|
||||
code->fregsIn[code->inst.FS] = true;
|
||||
|
||||
// For analysis purposes, we can assume that blr eats opinfo->flags.
|
||||
if (opinfo->type == OpType::Branch && code->inst.hex == 0x4e800020)
|
||||
{
|
||||
code->outputCR0 = true;
|
||||
code->outputCR1 = true;
|
||||
}
|
||||
|
||||
code->branchUsesCtr = false;
|
||||
code->branchTo = UINT32_MAX;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user