mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 14:57:41 -05:00
Disassembler: Chose slightly lower value for chunk size.
This commit is contained in:
parent
fd78786828
commit
456b9feb25
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue