mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-11 12:45:05 +01:00
qt: updated disassembler to show 2X as many instructions
This commit is contained in:
parent
174cc9a0ed
commit
a002abf171
@ -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'))));
|
||||||
|
Loading…
Reference in New Issue
Block a user