mirror of https://github.com/snes9xgit/snes9x.git
Use "enable" instead of "enabled."
This commit is contained in:
parent
cb7226d071
commit
e7adc334ae
|
@ -752,7 +752,7 @@ static void S9xLoadCheatsFromBMLNode (bml_node *n)
|
||||||
if (tmp)
|
if (tmp)
|
||||||
code = tmp->data;
|
code = tmp->data;
|
||||||
|
|
||||||
if (bml_find_sub(c, "enabled"))
|
if (bml_find_sub(c, "enable"))
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
|
||||||
if (code && !S9xCheatIsDuplicate (desc, code))
|
if (code && !S9xCheatIsDuplicate (desc, code))
|
||||||
|
@ -854,7 +854,7 @@ bool8 S9xSaveCheatFile (const char *filename)
|
||||||
"%s\n",
|
"%s\n",
|
||||||
Cheat.g[i].name ? Cheat.g[i].name : "",
|
Cheat.g[i].name ? Cheat.g[i].name : "",
|
||||||
txt,
|
txt,
|
||||||
Cheat.g[i].enabled ? " enabled\n" : ""
|
Cheat.g[i].enabled ? " enable\n" : ""
|
||||||
);
|
);
|
||||||
|
|
||||||
delete[] txt;
|
delete[] txt;
|
||||||
|
|
Loading…
Reference in New Issue