Fix last rom not highlighted.

Fixes #1157.
This commit is contained in:
Frank-74 2016-11-22 21:22:07 +00:00 committed by GitHub
parent 25a5784623
commit d6c819a1d0
1 changed files with 3 additions and 1 deletions

View File

@ -331,6 +331,8 @@ void CRomBrowser::HighLightLastRom(void)
{
return;
}
m_LastRom = UISettingsLoadStringIndex(File_RecentGameFileIndex, 0);
//Make sure Rom browser is visible
if (!RomBrowserVisible()) { return; }
@ -1273,4 +1275,4 @@ bool CRomBrowser::GetRomFileNames(strlist & FileList, const CPath & BaseDirector
}
} while (SearchPath.FindNext());
return true;
}
}