From d6c819a1d0067a33380c43abd06dfd0c7e1b31ef Mon Sep 17 00:00:00 2001 From: Frank-74 Date: Tue, 22 Nov 2016 21:22:07 +0000 Subject: [PATCH] Fix last rom not highlighted. Fixes #1157. --- Source/Project64/UserInterface/RomBrowserClass.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Project64/UserInterface/RomBrowserClass.cpp b/Source/Project64/UserInterface/RomBrowserClass.cpp index 0cd5a496f..5547068e3 100644 --- a/Source/Project64/UserInterface/RomBrowserClass.cpp +++ b/Source/Project64/UserInterface/RomBrowserClass.cpp @@ -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; -} \ No newline at end of file +}