1
0
Fork 0

Revert "GUI: speed improvements in Disassembly" (#1233)

This commit is contained in:
Torusrxxx 2016-11-08 08:26:59 +00:00 committed by Duncan Ogilvie
parent d63283ff43
commit 52bfa80f68
1 changed files with 2 additions and 2 deletions

View File

@ -1595,7 +1595,7 @@ void Disassembly::prepareDataRange(dsint startRva, dsint endRva, const std::func
break;
wAddrPrev = wAddr;
auto wInst = DisassembleAt(wAddr);
wAddr += wInst.length;
wAddr = getNextInstructionRVA(wAddr, 1);
if(wAddr == wAddrPrev)
break;
disassembled(i++, wInst);
@ -1618,7 +1618,7 @@ void Disassembly::prepareData()
{
wAddrPrev = wAddr;
wInst = DisassembleAt(wAddr);
wAddr += wInst.length;
wAddr = getNextInstructionRVA(wAddr, 1);
if(wAddr == wAddrPrev)
break;
mInstBuffer.append(wInst);