mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-09 18:43:01 +00:00
Display breakpoint condition
This commit is contained in:
parent
a8ef18c039
commit
2356e3b4be
@ -14,7 +14,7 @@ typedef struct
|
||||
} ListViewColumn;
|
||||
|
||||
enum { TL_NAME, TL_PROGRAMCOUNTER, TL_ENTRYPOINT, TL_PRIORITY, TL_STATE, TL_WAITTYPE, TL_COLUMNCOUNT };
|
||||
enum { BPL_TYPE, BPL_OFFSET, BPL_SIZELABEL, BPL_OPCODE, BPL_HITS, BPL_ENABLED, BPL_COLUMNCOUNT };
|
||||
enum { BPL_TYPE, BPL_OFFSET, BPL_SIZELABEL, BPL_OPCODE, BPL_CONDITION, BPL_HITS, BPL_ENABLED, BPL_COLUMNCOUNT };
|
||||
|
||||
ListViewColumn threadColumns[TL_COLUMNCOUNT] = {
|
||||
{ "Name", 0.20f },
|
||||
@ -27,10 +27,11 @@ ListViewColumn threadColumns[TL_COLUMNCOUNT] = {
|
||||
|
||||
ListViewColumn breakpointColumns[BPL_COLUMNCOUNT] = {
|
||||
{ "Type", 0.12f },
|
||||
{ "Offset", 0.20f },
|
||||
{ "Size/Label", 0.20f },
|
||||
{ "Opcode", 0.30f },
|
||||
{ "Hits", 0.10f },
|
||||
{ "Offset", 0.12f },
|
||||
{ "Size/Label", 0.18f },
|
||||
{ "Opcode", 0.28f },
|
||||
{ "Condition", 0.17f },
|
||||
{ "Hits", 0.05f },
|
||||
{ "Enabled", 0.08f }
|
||||
};
|
||||
|
||||
@ -565,6 +566,16 @@ void CtrlBreakpointList::handleNotify(LPARAM lParam)
|
||||
}
|
||||
}
|
||||
break;
|
||||
case BPL_CONDITION:
|
||||
{
|
||||
if (isMemory || displayedBreakPoints_[index].hasCond == false)
|
||||
{
|
||||
strcpy(breakpointText,"-");
|
||||
} else {
|
||||
strcpy(breakpointText,displayedBreakPoints_[index].cond.expressionString);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case BPL_HITS:
|
||||
{
|
||||
if (isMemory)
|
||||
|
Loading…
x
Reference in New Issue
Block a user