mirror of https://github.com/stella-emu/stella.git
improved debugger's RAM labels (part 2)
This commit is contained in:
parent
1637743d5e
commit
b0008a2204
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue