Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #811 from FioraAeterna/fixblowup
Debugger: fix blowup calculation again
  • Loading branch information
lioncash committed Aug 16, 2014
2 parents b9404f9 + 56cc022 commit 07f72b1
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 - 100);
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) - 100);

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

0 comments on commit 07f72b1

Please sign in to comment.