mirror of https://github.com/snes9xgit/snes9x.git
Create cheat group only once
This commit is contained in:
parent
25fa85bce4
commit
9d9a9e2f05
|
@ -606,7 +606,7 @@ int S9xAddCheatGroup (const char *name, const char *cheat)
|
||||||
if (g.c.size () == 0)
|
if (g.c.size () == 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
Cheat.g.push_back (S9xCreateCheatGroup (name, cheat));
|
Cheat.g.push_back (g);
|
||||||
|
|
||||||
return Cheat.g.size () - 1;
|
return Cheat.g.size () - 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue