diff options
author | twinaphex | 2017-08-14 08:06:11 +0200 |
---|---|---|
committer | twinaphex | 2017-08-14 08:06:11 +0200 |
commit | 78b32e05a8e3c221279ba40c8f19d762420be8a6 (patch) | |
tree | 522343d835ca7eec5ebae18c20ec35ac768250be /source/cheats2.c | |
parent | 75dbfcb2348fb8f41feb5b9b1536d8525a47f9e3 (diff) | |
download | snesemu-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.gz snesemu-78b32e05a8e3c221279ba40c8f19d762420be8a6.tar.bz2 snesemu-78b32e05a8e3c221279ba40c8f19d762420be8a6.zip |
C++ comments need to become C
Diffstat (limited to 'source/cheats2.c')
-rw-r--r-- | source/cheats2.c | 4 |
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; } } |