summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2020-01-07 14:04:16 +0100
committertwinaphex2020-01-07 14:04:16 +0100
commitd03ac88b211a5cc00877fd2ff71f0fbaa5449fee (patch)
treef61b9d1eb41993866f1cb68b6a1a482569376168
parent46447760df78e372c2aef3083f1cf8fea59e66f3 (diff)
downloadsnes9x2002-d03ac88b211a5cc00877fd2ff71f0fbaa5449fee.tar.gz
snes9x2002-d03ac88b211a5cc00877fd2ff71f0fbaa5449fee.tar.bz2
snes9x2002-d03ac88b211a5cc00877fd2ff71f0fbaa5449fee.zip
Add TODO/FIXME note
-rw-r--r--libretro/libretro.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libretro/libretro.c b/libretro/libretro.c
index 0321bf9..14fe29d 100644
--- a/libretro/libretro.c
+++ b/libretro/libretro.c
@@ -527,11 +527,14 @@ void retro_cheat_set(unsigned index, bool enable, const char* in_code)
{
uint32 address;
uint8 byte;
- // clean input
char clean_code[strlen(in_code)];
int j =0;
unsigned i;
+ /* TODO/FIXME - MSVC error C2057: expected constant expression -
+ * see clean_code[strlen(in_code)];
+ */
+
for (i = 0; i < strlen(in_code); i++)
{
switch (in_code[i])