1
0
Fork 0

DBG: Fix issue in "_dbg_getbplist"

This commit is contained in:
Sigmapic 2013-11-24 11:12:47 +01:00
parent 142e6dc20a
commit f3a7ed2e19
1 changed files with 5 additions and 1 deletions

View File

@ -324,8 +324,12 @@ extern "C" DLL_EXPORT int _dbg_getbplist(BPXTYPE type, BPMAP* bplist)
return 0;
BREAKPOINT* list;
int bpcount=bpgetlist(&list);
if(!bpcount)
if(bpcount==0)
{
bplist->count=0;
return 0;
}
int retcount=0;
std::vector<BRIDGEBP> bridgeList;
BRIDGEBP curBp;