diff --git a/retroarch.c b/retroarch.c index 467e134bb0..0a804e3754 100644 --- a/retroarch.c +++ b/retroarch.c @@ -253,7 +253,7 @@ static void video_frame(const void *data, unsigned width, unsigned height, size_ return; #endif - if (g_extern.system.pix_fmt == RETRO_PIXEL_FORMAT_0RGB1555) + if (g_extern.system.pix_fmt == RETRO_PIXEL_FORMAT_0RGB1555 && data) { RARCH_PERFORMANCE_INIT(video_frame_conv); RARCH_PERFORMANCE_START(video_frame_conv);