Commit 5a24d54d authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Only call retro_led_interface if LED interface is non-NULL

parent 2e206fa4
Pipeline #111524 passed with stage
in 38 minutes and 19 seconds
......@@ -4834,7 +4834,8 @@ void retro_run(void)
}
/* LED interface */
retro_led_interface();
if (led_state_cb)
retro_led_interface();
video_frames++;
audio_frames += spec.SoundBufSize;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment