diff --git a/libretro/libretro.c b/libretro/libretro.c index 3ab408c..ac01434 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -486,7 +486,9 @@ void *retro_get_memory_data(unsigned type) break; default: data = NULL; - break; + break; + default: + data = NULL; } return data; }