Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #804 from FioraAeterna/fixblowup
Debugger: fix blowup calculation
  • Loading branch information
lioncash committed Aug 14, 2014
2 parents e6d10a0 + 6741cdb commit 3c2567c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/DolphinWX/Debugger/JitWindow.cpp
Expand Up @@ -177,9 +177,9 @@ void CJitWindow::Compare(u32 em_address)
sptr += sprintf(sptr, "%i estimated cycles\n", st.numCycles);

sptr += sprintf(sptr, "Num instr: PPC: %i x86: %i (blowup: %i%%)\n",
code_block.m_num_instructions, num_x86_instructions, 100 * (num_x86_instructions / code_block.m_num_instructions - 1));
code_block.m_num_instructions, num_x86_instructions, (100 * num_x86_instructions / code_block.m_num_instructions - 1));
sptr += sprintf(sptr, "Num bytes: PPC: %i x86: %i (blowup: %i%%)\n",
code_block.m_num_instructions * 4, block->codeSize, 100 * (block->codeSize / (4 * code_block.m_num_instructions) - 1));
code_block.m_num_instructions * 4, block->codeSize, (100 * block->codeSize / (4 * code_block.m_num_instructions) - 1));

ppc_box->SetValue(StrToWxStr((char*)xDis));
}
Expand Down

0 comments on commit 3c2567c

Please sign in to comment.