Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
beetle-psx-libretro
Commits
26f79f8b
Commit
26f79f8b
authored
Jun 06, 2022
by
mudlord
Browse files
Fix LED interface crash if not implemented.
parent
96f15751
Changes
1
Hide whitespace changes
Inline
Side-by-side
libretro.cpp
View file @
26f79f8b
...
...
@@ -4887,7 +4887,7 @@ void retro_set_environment(retro_environment_t cb)
if
(
environ_cb
(
RETRO_ENVIRONMENT_GET_VFS_INTERFACE
,
&
vfs_iface_info
))
filestream_vfs_init
(
&
vfs_iface_info
);
environ_cb
(
RETRO_ENVIRONMENT_GET_LED_INTERFACE
,
&
led_interface
)
;
if
(
environ_cb
(
RETRO_ENVIRONMENT_GET_LED_INTERFACE
,
&
led_interface
)
)
if
(
led_interface
.
set_led_state
&&
!
led_state_cb
)
led_state_cb
=
led_interface
.
set_led_state
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment