Correct a dumb bug in Genesis GameGenie code conversion.
This commit is contained in:
parent
973cd3b9a2
commit
f8a3dca089
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue