improved debugger's RAM labels (part 2)

This commit is contained in:
thrust26 2020-11-28 12:59:45 +01:00
parent 1637743d5e
commit b0008a2204
2 changed files with 2 additions and 2 deletions

View File

@ -392,5 +392,5 @@ uInt8 CartridgeEnhancedWidget::internalRamGetValue(int addr)
string CartridgeEnhancedWidget::internalRamLabel(int addr)
{
CartDebug& dbg = instance().debugger().cartDebug();
return dbg.getLabel(addr + ADDR_BASE + myCart.myReadOffset, false);
return dbg.getLabel(addr + ADDR_BASE + myCart.myReadOffset, false, -1, true);
}

View File

@ -48,7 +48,7 @@ string DataGridRamWidget::getToolTip(const Common::Point& pos) const
ostringstream buf;
buf << _ram.getLabel(addr) << '\n' << tip;
buf << label << '\n' << tip;
return buf.str();
}