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

qt: updated disassembler to show 2X as many instructions

This commit is contained in:
bunnei 2014-06-05 01:08:54 -04:00
parent 174cc9a0ed
commit a002abf171

View file

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