aboutsummaryrefslogtreecommitdiff
path: root/source/cheats2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cheats2.cpp')
-rw-r--r--source/cheats2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cheats2.cpp b/source/cheats2.cpp
index e5a7b0f..59855b9 100644
--- a/source/cheats2.cpp
+++ b/source/cheats2.cpp
@@ -128,6 +128,7 @@ void S9xDeleteCheat (uint32 which1)
if (Cheat.c [which1].enabled)
S9xRemoveCheat (which1);
+ // memmove required: Overlapping addresses [Neb]
memmove (&Cheat.c [which1], &Cheat.c [which1 + 1],
sizeof (Cheat.c [0]) * (Cheat.num_cheats - which1 - 1));
Cheat.num_cheats--; //MK: This used to set it to 0??