Minor fix for tool tip CPU address field.
This commit is contained in:
parent
e307f5a282
commit
4ffcafd138
|
@ -4515,12 +4515,12 @@ bool QAsmView::event(QEvent *event)
|
||||||
{
|
{
|
||||||
if ( asmEntry[line]->bank < 0 )
|
if ( asmEntry[line]->bank < 0 )
|
||||||
{
|
{
|
||||||
sprintf( stmp, "ADDR:\t$%04X", asmEntry[line]->sym.ofs );
|
sprintf( stmp, "ADDR:\t$%04X", asmEntry[line]->addr );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sprintf( stmp, "ADDR:\t$%04X\nBANK:\t$%02X\nROM:\t$%06X",
|
sprintf( stmp, "ADDR:\t$%04X\nBANK:\t$%02X\nROM:\t$%06X",
|
||||||
asmEntry[line]->sym.ofs, asmEntry[line]->bank, asmEntry[line]->rom );
|
asmEntry[line]->addr, asmEntry[line]->bank, asmEntry[line]->rom );
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolTip::showText(helpEvent->globalPos(), tr(stmp), this );
|
QToolTip::showText(helpEvent->globalPos(), tr(stmp), this );
|
||||||
|
|
Loading…
Reference in New Issue