1
0
Fork 0

Merge branch 'patch-4' into development

This commit is contained in:
Yakov5776 2021-03-07 17:08:05 -05:00
commit da749d36a2
1 changed files with 9 additions and 3 deletions

View File

@ -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;