Merge pull request #421 from alexey-lysiuk/video_mode_menu

Fixed selection of empty items in Video Mode menu
This commit is contained in:
rheit 2016-01-27 13:30:05 -06:00
commit f36bdc474d

View file

@ -945,6 +945,14 @@ public:
{ {
return mMaxValid >= 0; return mMaxValid >= 0;
} }
void Ticker()
{
if (Selectable() && mSelection > mMaxValid)
{
mSelection = mMaxValid;
}
}
}; };