mirror of https://github.com/snes9xgit/snes9x.git
Cheats: Use "name" instead of "description". Allow whitespace.
This commit is contained in:
parent
28332c5789
commit
13769eeccf
|
@ -742,7 +742,7 @@ static void S9xLoadCheatsFromBMLNode (bml_node *n)
|
|||
bml_node *c = n->child[i];
|
||||
bml_node *tmp = NULL;
|
||||
|
||||
tmp = bml_find_sub(c, "description");
|
||||
tmp = bml_find_sub(c, "name");
|
||||
desc = tmp->data;
|
||||
if (!desc)
|
||||
desc = (char *) "";
|
||||
|
@ -847,7 +847,7 @@ bool8 S9xSaveCheatFile (const char *filename)
|
|||
|
||||
fprintf (file,
|
||||
"cheat\n"
|
||||
" description: %s\n"
|
||||
" name: %s\n"
|
||||
" code: %s\n"
|
||||
"%s\n",
|
||||
Cheat.g[i].name ? Cheat.g[i].name : "",
|
||||
|
|
54330
data/cheats.bml
54330
data/cheats.bml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue