diff --git a/libretro.cpp b/libretro.cpp index b89c612c..eee0dfd2 100644 --- a/libretro.cpp +++ b/libretro.cpp @@ -4913,7 +4913,7 @@ void retro_set_environment(retro_environment_t cb) filestream_vfs_init(&vfs_iface_info); environ_cb(RETRO_ENVIRONMENT_GET_LED_INTERFACE, &led_interface); - if (led_interface.set_led_state) + if (led_interface.set_led_state && !led_state_cb) led_state_cb = led_interface.set_led_state; input_set_env(cb);