qt: updated disassembler to show 2X as many instructions

master
bunnei 2014-06-05 01:08:54 +07:00
parent 174cc9a0ed
commit a002abf171
1 changed files with 1 additions and 1 deletions

@ -48,7 +48,7 @@ void DisassemblerWidget::Init()
unsigned int curInstAddr = base_addr; unsigned int curInstAddr = base_addr;
char result[255]; char result[255];
for (int i = 0; i < 10000; i++) // fixed for now for (int i = 0; i < 20000; i++) // fixed for now
{ {
disasm->disasm(curInstAddr, Memory::Read32(curInstAddr), result); disasm->disasm(curInstAddr, Memory::Read32(curInstAddr), result);
model->setItem(i, 0, new QStandardItem(QString("0x%1").arg((uint)(curInstAddr), 8, 16, QLatin1Char('0')))); model->setItem(i, 0, new QStandardItem(QString("0x%1").arg((uint)(curInstAddr), 8, 16, QLatin1Char('0'))));