diff options
-rw-r--r-- | libretro/libretro.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libretro/libretro.c b/libretro/libretro.c index e97bcdf..42193d7 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -517,9 +517,6 @@ bool retro_load_game(const struct retro_game_info *game) bool8 loaded; enum retro_pixel_format fmt = RETRO_PIXEL_FORMAT_RGB565; - if (!game) - return false; - if (!environ_cb(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &fmt)) { fprintf(stderr, "[libretro]: RGB565 is not supported.\n"); |