Merge pull request #1052 from Sonicadvance1/fix-ppcAnalyst-return

Fix the return value of PPCAnalyst.
This commit is contained in:
Ryan Houdek 2014-09-11 21:12:38 -05:00
commit d6ef8dc8c6
1 changed files with 1 additions and 1 deletions

View File

@ -676,12 +676,12 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock *block, CodeBuffer *buffer, u32
if (!follow) if (!follow)
{ {
address += 4;
if (!conditional_continue && opinfo->flags & FL_ENDBLOCK) //right now we stop early if (!conditional_continue && opinfo->flags & FL_ENDBLOCK) //right now we stop early
{ {
found_exit = true; found_exit = true;
break; break;
} }
address += 4;
} }
// XXX: We don't support inlining yet. // XXX: We don't support inlining yet.
#if 0 #if 0