Przeglądaj źródła

Disassembler: Chose slightly lower value for chunk size.

Tony Wasserka 12 lat temu
rodzic
commit
456b9feb25
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      src/citra_qt/debugger/disassembler.cpp

+ 3 - 1
src/citra_qt/debugger/disassembler.cpp

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