Skip to content

Commit

Permalink
Use "enable" instead of "enabled."
Browse files Browse the repository at this point in the history
  • Loading branch information
bearoso committed Jun 4, 2018
1 parent cb7226d commit e7adc33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cheats2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ static void S9xLoadCheatsFromBMLNode (bml_node *n)
if (tmp)
code = tmp->data;

if (bml_find_sub(c, "enabled"))
if (bml_find_sub(c, "enable"))
enabled = true;

if (code && !S9xCheatIsDuplicate (desc, code))
Expand Down Expand Up @@ -854,7 +854,7 @@ bool8 S9xSaveCheatFile (const char *filename)
"%s\n",
Cheat.g[i].name ? Cheat.g[i].name : "",
txt,
Cheat.g[i].enabled ? " enabled\n" : ""
Cheat.g[i].enabled ? " enable\n" : ""
);

delete[] txt;
Expand Down

0 comments on commit e7adc33

Please sign in to comment.