From d03ac88b211a5cc00877fd2ff71f0fbaa5449fee Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 7 Jan 2020 14:04:16 +0100 Subject: Add TODO/FIXME note --- libretro/libretro.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libretro/libretro.c') 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]) -- cgit v1.2.3