Merge branch 'patch-4' into development
This commit is contained in:
commit
da749d36a2
|
@ -101,10 +101,16 @@ void CPUDisassembly::mouseDoubleClickEvent(QMouseEvent* event)
|
||||||
// (Disassembly) Assemble dialog
|
// (Disassembly) Assemble dialog
|
||||||
case 2:
|
case 2:
|
||||||
{
|
{
|
||||||
duint dest = DbgGetBranchDestination(rvaToVa(getInitialSelection()));
|
if (settingboolget("Disassembler", "AssembleOnDoubleClick"))
|
||||||
|
{
|
||||||
|
assembleSlot();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
duint dest = DbgGetBranchDestination(rvaToVa(getInitialSelection()));
|
||||||
|
|
||||||
if(DbgMemIsValidReadPtr(dest))
|
if(DbgMemIsValidReadPtr(dest))
|
||||||
gotoAddress(dest);
|
gotoAddress(dest);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue