fixed RomInfoWidget drawing

This commit is contained in:
thrust26 2020-11-11 16:50:49 +01:00
parent 113ee12398
commit 250a1634de
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();
}