From 78b32e05a8e3c221279ba40c8f19d762420be8a6 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 14 Aug 2017 08:06:11 +0200 Subject: C++ comments need to become C --- source/cheats2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cheats2.c') diff --git a/source/cheats2.c b/source/cheats2.c index f113cd9..cc303b8 100644 --- a/source/cheats2.c +++ b/source/cheats2.c @@ -41,7 +41,7 @@ void S9xDeleteCheat(uint32_t which1) if (Cheat.c [which1].enabled) S9xRemoveCheat(which1); - // memmove required: Overlapping addresses [Neb] + /* 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--; } @@ -84,7 +84,7 @@ void S9xRemoveCheat(uint32_t which1) *(ptr + (address & 0xffff)) = Cheat.c [which1].saved_byte; else S9xSetByte(Cheat.c [which1].saved_byte, address); - // Unsave the address for the next call to S9xRemoveCheat. + /* Unsave the address for the next call to S9xRemoveCheat. */ Cheat.c [which1].saved = false; } } -- cgit v1.2.3