2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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

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)