yuzu-emu
/
yuzu
Archived
1
0
Fork 0

Disassembler: Chose slightly lower value for chunk size.

This commit is contained in:
Tony Wasserka 2014-07-23 00:50:28 +02:00
parent fd78786828
commit 456b9feb25
1 changed files with 3 additions and 1 deletions

View File

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