Correct a dumb bug in Genesis GameGenie code conversion.

This commit is contained in:
hegyak 2015-12-18 15:50:14 -08:00
parent 973cd3b9a2
commit f8a3dca089
1 changed files with 1 additions and 1 deletions

View File

@ -542,7 +542,7 @@ namespace BizHawk.Client.EmuHawk
//This applies to the Game Genie
if (txtCheat.Text.Length == 9 && txtCheat.Text.Contains("-"))
{
if (txtCheat.Text.IndexOf("-") != 5)
if (txtCheat.Text.IndexOf("-") != 4)
{
MessageBox.Show("All Genesis Game Genie Codes need to contain a dash after the fourth character", "Input Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;