summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-07-23 00:50:28 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2014-07-23 00:50:28 +0200
commit456b9feb250edc3bae2eddbcaad3811a15c4577e (patch)
tree0a0996c1c5b91838c5c5c523a540e9ec5cfadd29 /src
parentcitra-qt: Rewrite disassembly view. (diff)
downloadyuzu-456b9feb250edc3bae2eddbcaad3811a15c4577e.tar
yuzu-456b9feb250edc3bae2eddbcaad3811a15c4577e.tar.gz
yuzu-456b9feb250edc3bae2eddbcaad3811a15c4577e.tar.bz2
yuzu-456b9feb250edc3bae2eddbcaad3811a15c4577e.tar.lz
yuzu-456b9feb250edc3bae2eddbcaad3811a15c4577e.tar.xz
yuzu-456b9feb250edc3bae2eddbcaad3811a15c4577e.tar.zst
yuzu-456b9feb250edc3bae2eddbcaad3811a15c4577e.zip
Diffstat (limited to 'src')
-rw-r--r--src/citra_qt/debugger/disassembler.cpp4
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 {
}
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 (code_size == 0)