diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/citra_qt/debugger/disassembler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/disassembler.cpp b/src/citra_qt/debugger/disassembler.cpp index 4fd6a6e62..617a8860b 100644 --- a/src/citra_qt/debugger/disassembler.cpp +++ b/src/citra_qt/debugger/disassembler.cpp | |||
| @@ -82,7 +82,9 @@ const BreakPoints& DisassemblerModel::GetBreakPoints() const { | |||
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | void DisassemblerModel::ParseFromAddress(unsigned int address) { | 84 | void DisassemblerModel::ParseFromAddress(unsigned int address) { |
| 85 | const unsigned int chunk_size = 1000*1000; // 10*1000*1000 is critical | 85 | |
| 86 | // NOTE: A too large value causes lagging when scrolling the disassembly | ||
| 87 | const unsigned int chunk_size = 1000*500; | ||
| 86 | 88 | ||
| 87 | // If we haven't loaded anything yet, initialize base address to the parameter address | 89 | // If we haven't loaded anything yet, initialize base address to the parameter address |
| 88 | if (code_size == 0) | 90 | if (code_size == 0) |