1
0
Fork 0

BRIDGE: allow optional parameters for DbgLoopGet

This commit is contained in:
Duncan Ogilvie 2020-06-03 10:07:14 +02:00
parent 9c3e5ec5ff
commit 430ea53876
1 changed files with 4 additions and 2 deletions

View File

@ -803,8 +803,10 @@ BRIDGE_IMPEXP bool DbgLoopGet(int depth, duint addr, duint* start, duint* end)
info.depth = depth;
if(!_dbg_sendmessage(DBG_LOOP_GET, &info, 0))
return false;
*start = info.start;
*end = info.end;
if(start)
*start = info.start;
if(end)
*end = info.end;
return true;
}