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