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,11 +101,17 @@ void CPUDisassembly::mouseDoubleClickEvent(QMouseEvent* event)
// (Disassembly) Assemble dialog
case 2:
{
if (settingboolget("Disassembler", "AssembleOnDoubleClick"))
{
assembleSlot();
}
else {
duint dest = DbgGetBranchDestination(rvaToVa(getInitialSelection()));
if(DbgMemIsValidReadPtr(dest))
gotoAddress(dest);
}
}
break;
// (Comments) Set comment dialog