Fixed index bug for comparison type in Load() in CheatList

This commit is contained in:
Adam Sturge 2016-02-07 21:54:45 -08:00
parent 52c587d712
commit 5dc31d3eb9
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ namespace BizHawk.Client.Common
}
// For backwards compatibility, don't assume these values exist
if (vals.Length > 8)
if (vals.Length > 9)
{
if(!Enum.TryParse<Cheat.COMPARISONTYPE>(vals[9], out comparisonType))
{