aboutsummaryrefslogtreecommitdiff
path: root/source/cheats2.c
diff options
context:
space:
mode:
authortwinaphex2017-08-14 08:06:11 +0200
committertwinaphex2017-08-14 08:06:11 +0200
commit78b32e05a8e3c221279ba40c8f19d762420be8a6 (patch)
tree522343d835ca7eec5ebae18c20ec35ac768250be /source/cheats2.c
parent75dbfcb2348fb8f41feb5b9b1536d8525a47f9e3 (diff)
downloadsnes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.gz
snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.bz2
snes9x2005-78b32e05a8e3c221279ba40c8f19d762420be8a6.zip
C++ comments need to become C
Diffstat (limited to 'source/cheats2.c')
-rw-r--r--source/cheats2.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}