summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp
diff options
context:
space:
mode:
authorpierre <pierre@pirsoft.de>2011-07-03 20:47:18 +0000
committerpierre <pierre@pirsoft.de>2011-07-03 20:47:18 +0000
commitf7a1fabade45469102eae2b2192c6ae0ab6266ad (patch)
tree99bd9ba789bdbeb93a3f980c61f433cfbf792a2d /Source/Core/DolphinWX/Src/Debugger/CodeView.cpp
parent3c10f9f3e9107a09d07f5b032971145624a4c6a2 (diff)
Adjust the character counts in the debug views to more closely resemble the original pixel counts
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7664 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DolphinWX/Src/Debugger/CodeView.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/CodeView.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp b/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp
index d91096c12d..f696aaab64 100644
--- a/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp
@@ -489,7 +489,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
dc.SetTextForeground(_T("#000000"));
}
- dc.DrawText(wxString::FromAscii(dis2), 17 + 16*charWidth, rowY1);
+ dc.DrawText(wxString::FromAscii(dis2), 17 + 17*charWidth, rowY1);
// ------------
}
@@ -499,7 +499,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
else
dc.SetTextForeground(_T("#8000FF")); // purple
- dc.DrawText(wxString::FromAscii(dis), 17 + (plain ? 1*charWidth : 8*charWidth), rowY1);
+ dc.DrawText(wxString::FromAscii(dis), 17 + (plain ? 1*charWidth : 9*charWidth), rowY1);
if (desc[0] == 0)
{
@@ -513,7 +513,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
//UnDecorateSymbolName(desc,temp,255,UNDNAME_COMPLETE);
if (strlen(desc))
{
- dc.DrawText(wxString::FromAscii(desc), 17 + 36 * charWidth, rowY1);
+ dc.DrawText(wxString::FromAscii(desc), 17 + 35 * charWidth, rowY1);
}
}
@@ -534,7 +534,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
for (int i = 0; i < numBranches; i++)
{
- int x = 17 + 44 * charWidth + (branches[i].srcAddr % 9) * 8;
+ int x = 17 + 49 * charWidth + (branches[i].srcAddr % 9) * 8;
_MoveTo(x-2, branches[i].src);
if (branches[i].dst < rc.height + 400 && branches[i].dst > -400)