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
2e206fa4
Unverified
Commit
2e206fa4
authored
Apr 17, 2022
by
Libretro-Admin
Committed by
GitHub
Apr 17, 2022
Browse files
Merge pull request #848 from sonninnos/led-interface
Crash fix for LED interface
parents
31ef976a
aa0b3ec9
Pipeline
#102603
passed with stage
in 2 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
libretro.cpp
View file @
2e206fa4
...
...
@@ -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
);
...
...
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