PowerPC: misc cleanup.

This commit is contained in:
magumagu
2015-01-23 16:01:05 -08:00
parent ac54c6a4e2
commit e136c8a066
2 changed files with 131 additions and 139 deletions

View File

@ -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;