mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 09:19:05 +02:00
Debugger breakpoints: Rename "Result" to "Action"
This commit is contained in:
1 parent
9f90512ef6
commit
c457dbbd2f
6 files changed
+84
-74
No files matched your search
@@ -204,7 +204,7 @@ bool BreakpointWindow::exec() {
|
||||
}
|
||||
|
||||
void BreakpointWindow::addBreakpoint() {
|
||||
BreakAction result = BREAK_ACTION_IGNORE;
|
||||
BreakAction result = BREAK_ACTION_NONE;
|
||||
if (log)
|
||||
result |= BREAK_ACTION_LOG;
|
||||
if (enabled)
|
||||
@@ -256,8 +256,8 @@ void BreakpointWindow::loadFromMemcheck(const MemCheck &memcheck) {
|
||||
write = (memcheck.cond & MEMCHECK_WRITE) != 0;
|
||||
onChange = (memcheck.cond & MEMCHECK_WRITE_ONCHANGE) != 0;
|
||||
|
||||
log = (memcheck.result & BREAK_ACTION_LOG) != 0;
|
||||
enabled = (memcheck.result & BREAK_ACTION_PAUSE) != 0;
|
||||
log = (memcheck.action & BREAK_ACTION_LOG) != 0;
|
||||
enabled = (memcheck.action & BREAK_ACTION_PAUSE) != 0;
|
||||
|
||||
address = memcheck.start;
|
||||
size = memcheck.end - address;
|
||||
@@ -275,8 +275,8 @@ void BreakpointWindow::loadFromMemcheck(const MemCheck &memcheck) {
|
||||
void BreakpointWindow::loadFromBreakpoint(const BreakPoint& breakpoint) {
|
||||
memory = false;
|
||||
|
||||
log = (breakpoint.result & BREAK_ACTION_LOG) != 0;
|
||||
enabled = (breakpoint.result & BREAK_ACTION_PAUSE) != 0;
|
||||
log = (breakpoint.action & BREAK_ACTION_LOG) != 0;
|
||||
enabled = (breakpoint.action & BREAK_ACTION_PAUSE) != 0;
|
||||
address = breakpoint.addr;
|
||||
size = 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user