Merge pull request #1221 from Frank-74/patch-6

Fix last rom not highlighted.
This commit is contained in:
zilmar 2016-11-23 10:48:12 +11:00 committed by GitHub
commit 0a89360f66
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;
}
}