fixed RomInfoWidget drawing

This commit is contained in:
thrust26 2020-11-11 16:50:49 +01:00
parent 9f88a116a4
commit e5daa770ed
1 changed files with 3 additions and 0 deletions

View File

@ -172,6 +172,8 @@ void RomInfoWidget::parseProperties(const FilesystemNode& node)
myRomInfo.push_back("Controllers: " + (left + " (left), " + right + " (right)"));
if (bsDetected != "")
myRomInfo.push_back("Type: " + Bankswitch::typeToDesc(Bankswitch::nameToType(bsDetected)));
setDirty();
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -227,4 +229,5 @@ void RomInfoWidget::drawWidget(bool hilite)
onTop ? _textcolor : _shadowcolor);
ypos += _font.getLineHeight() + (lines - 1) * _font.getFontHeight();
}
clearDirty();
}