mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
PowerPC: misc cleanup.
This commit is contained in:
parent
ac54c6a4e2
commit
e136c8a066
2 changed files with 131 additions and 139 deletions
|
@ -668,8 +668,6 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock *block, CodeBuffer *buffer, u32
|
|||
}
|
||||
UGeckoInstruction inst = result.hex;
|
||||
|
||||
if (inst.hex != 0)
|
||||
{
|
||||
// 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
|
||||
// all virtual memory instruction blocks at page boundaries.
|
||||
|
@ -802,12 +800,6 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock *block, CodeBuffer *buffer, u32
|
|||
}
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
ERROR_LOG(DYNA_REC, "Instruction hex was 0!");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
block->m_num_instructions = num_inst;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue