Disassembler: Chose slightly lower value for chunk size.
This commit is contained in:
parent
fd78786828
commit
456b9feb25
|
@ -82,7 +82,9 @@ const BreakPoints& DisassemblerModel::GetBreakPoints() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisassemblerModel::ParseFromAddress(unsigned int address) {
|
void DisassemblerModel::ParseFromAddress(unsigned int address) {
|
||||||
const unsigned int chunk_size = 1000*1000; // 10*1000*1000 is critical
|
|
||||||
|
// NOTE: A too large value causes lagging when scrolling the disassembly
|
||||||
|
const unsigned int chunk_size = 1000*500;
|
||||||
|
|
||||||
// If we haven't loaded anything yet, initialize base address to the parameter address
|
// If we haven't loaded anything yet, initialize base address to the parameter address
|
||||||
if (code_size == 0)
|
if (code_size == 0)
|
||||||
|
|
Reference in New Issue