VLAs not supported in C89

This commit is contained in:
twinaphex
2019-12-11 16:46:06 +01:00
parent 29ca7f1976
commit 58030a374d

View File

@@ -2095,8 +2095,7 @@ bool retro_load_game(const struct retro_game_info *game)
{ 0 },
};
size_t desc_base = 64;
size_t desc_count = desc_base+4;
struct retro_memory_descriptor descs[desc_count];
struct retro_memory_descriptor descs[64 + 4];
struct retro_memory_map mmaps;
if (!game)