mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 07:39:45 -06:00
PowerPC: misc cleanup.
This commit is contained in:
@ -668,8 +668,6 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock *block, CodeBuffer *buffer, u32
|
|||||||
}
|
}
|
||||||
UGeckoInstruction inst = result.hex;
|
UGeckoInstruction inst = result.hex;
|
||||||
|
|
||||||
if (inst.hex != 0)
|
|
||||||
{
|
|
||||||
// Slight hack: the JIT block cache currently assumes all blocks end at the same place,
|
// Slight hack: the JIT block cache currently assumes all blocks end at the same place,
|
||||||
// but broken blocks due to page faults break this assumption. Avoid this by just ending
|
// but broken blocks due to page faults break this assumption. Avoid this by just ending
|
||||||
// all virtual memory instruction blocks at page boundaries.
|
// all virtual memory instruction blocks at page boundaries.
|
||||||
@ -802,12 +800,6 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock *block, CodeBuffer *buffer, u32
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
ERROR_LOG(DYNA_REC, "Instruction hex was 0!");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
block->m_num_instructions = num_inst;
|
block->m_num_instructions = num_inst;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user