From 9d9a9e2f052315d07ad72f7d58c56a74b3651f9b Mon Sep 17 00:00:00 2001 From: OV2 Date: Tue, 1 May 2018 00:01:39 +0200 Subject: [PATCH] Create cheat group only once --- cheats2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheats2.cpp b/cheats2.cpp index 1ec688fbd..486d101e7 100644 --- a/cheats2.cpp +++ b/cheats2.cpp @@ -606,7 +606,7 @@ int S9xAddCheatGroup (const char *name, const char *cheat) if (g.c.size () == 0) return -1; - Cheat.g.push_back (S9xCreateCheatGroup (name, cheat)); + Cheat.g.push_back (g); return Cheat.g.size () - 1; }