mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-23 08:49:47 +00:00
Only call retro_led_interface if LED interface is non-NULL
This commit is contained in:
parent
2e206fa411
commit
5a24d54d30
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user