summaryrefslogtreecommitdiff
path: root/libretro
diff options
context:
space:
mode:
authororbea2017-01-25 14:34:26 -0800
committerorbea2017-01-25 14:34:26 -0800
commitac7d2ce2729a6b0ca71e4c346f39245ba98a3b0d (patch)
tree954c01f8bbfde97753697baa4824ef9b85657ceb /libretro
parentf50d04d4598750e5d82426871f45b084eea01f16 (diff)
downloadsnes9x2002-ac7d2ce2729a6b0ca71e4c346f39245ba98a3b0d.tar.gz
snes9x2002-ac7d2ce2729a6b0ca71e4c346f39245ba98a3b0d.tar.bz2
snes9x2002-ac7d2ce2729a6b0ca71e4c346f39245ba98a3b0d.zip
Revert 'return false if game is NULL inside retro_load_game'
Diffstat (limited to 'libretro')
-rw-r--r--libretro/libretro.c3
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");