mirror of https://github.com/stella-emu/stella.git
minor fixes to debugger cart info
This commit is contained in:
parent
fb9323272a
commit
05a048186e
|
@ -39,7 +39,7 @@ string Cartridge3EPlusWidget::description()
|
|||
const uInt16 numRomBanks = myCart.romBankCount();
|
||||
const uInt16 numRamBanks = myCart.ramBankCount();
|
||||
|
||||
info << "3E+ cartridge - (4" << ELLIPSIS << "64K ROM + RAM)\n"
|
||||
info << "3E+ cartridge - (1" << ELLIPSIS << "64K ROM + RAM)\n"
|
||||
<< " " << numRomBanks << " 1K ROM banks + " << numRamBanks << " 512b RAM banks\n"
|
||||
<< " mapped into four segments\n"
|
||||
"ROM bank & segment selected by writing to $3F\n"
|
||||
|
|
|
@ -67,7 +67,7 @@ int CartDebugWidget::addBaseInformation(size_t bytes, string_view manufacturer,
|
|||
y += myLineHeight + 4;
|
||||
|
||||
const StringParser bs(desc, (fwidth - ScrollBarWidget::scrollBarWidth(_font)) /
|
||||
myFontWidth - 4);
|
||||
myFontWidth);
|
||||
const StringList& sl = bs.stringList();
|
||||
size_t lines = sl.size();
|
||||
if(lines < 3) lines = 3;
|
||||
|
|
Loading…
Reference in New Issue