mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-23 08:01:30 -05:00
Linux: Fix ups for people running Linux. If it breaks anything, punch me in the face.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@30 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@@ -54,17 +54,22 @@ CBreakPointView::Update()
|
||||
const TBreakPoint& rBP = rBreakPoints[i];
|
||||
if (!rBP.bTemporary)
|
||||
{
|
||||
int Item = InsertItem(0, rBP.bOn ? "on" : " ");
|
||||
SetItem(Item, 1, "BP");
|
||||
wxString temp;
|
||||
temp = wxString::FromAscii(rBP.bOn ? "on" : " ");
|
||||
int Item = InsertItem(0, temp);
|
||||
temp = wxString::FromAscii("BP");
|
||||
SetItem(Item, 1, temp);
|
||||
|
||||
Debugger::XSymbolIndex index = Debugger::FindSymbol(rBP.iAddress);
|
||||
if (index > 0)
|
||||
{
|
||||
SetItem(Item, 2, Debugger::GetDescription(rBP.iAddress));
|
||||
temp = wxString::FromAscii(Debugger::GetDescription(rBP.iAddress));
|
||||
SetItem(Item, 2, temp);
|
||||
}
|
||||
|
||||
sprintf(szBuffer, "0x%08x", rBP.iAddress);
|
||||
SetItem(Item, 3, szBuffer);
|
||||
temp = wxString::FromAscii(szBuffer);
|
||||
SetItem(Item, 3, temp);
|
||||
|
||||
SetItemData(Item, rBP.iAddress);
|
||||
}
|
||||
@@ -82,4 +87,4 @@ CBreakPointView::Update()
|
||||
u32 Address = GetItemData(Item);
|
||||
CBreakPoints::DeleteElementByAddress(Address);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user