mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Add this conditional check
This commit is contained in:
parent
c3c772a79a
commit
f5fc95cd04
@ -126,7 +126,8 @@ void libretro_dummy_retro_reset(void)
|
||||
void libretro_dummy_retro_run(void)
|
||||
{
|
||||
dummy_input_poll_cb();
|
||||
dummy_video_cb(frame_buf, 320, 240, 640);
|
||||
if (frame_buf)
|
||||
dummy_video_cb(frame_buf, 320, 240, 640);
|
||||
}
|
||||
|
||||
/* This should never be called, it's only used as a placeholder. */
|
||||
|
Loading…
Reference in New Issue
Block a user