mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 12:35:23 +00:00
Fix crash on frame dupe.
This commit is contained in:
parent
a734e18295
commit
a545964be8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user