summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])