From bfa88fb5d598ffce116b938cec14b9c8b23b87c3 Mon Sep 17 00:00:00 2001 From: Sour Date: Sat, 26 Oct 2019 19:50:07 -0400 Subject: [PATCH] UI: Fixed crash in recent game selection screen (when > 20 roms exist in the recent games folder) --- UI/Controls/ctrlRecentGames.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Controls/ctrlRecentGames.cs b/UI/Controls/ctrlRecentGames.cs index d102c6c..c8f2421 100644 --- a/UI/Controls/ctrlRecentGames.cs +++ b/UI/Controls/ctrlRecentGames.cs @@ -153,7 +153,7 @@ namespace Mesen.GUI.Controls _recentGames = _recentGames.OrderBy((info) => info.Timestamp).Reverse().ToList(); - if(_recentGames.Count > 20) { + if(_recentGames.Count > 36) { _recentGames.RemoveRange(36, _recentGames.Count - 36); }