mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Do conditional check before calling function
This commit is contained in:
parent
5b2c4db656
commit
42a3ec2cf7
@ -408,7 +408,8 @@ void input_poll(void)
|
||||
}
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
input_poll_overlay(overlay_ptr, settings->input.overlay_opacity);
|
||||
if (overlay_ptr)
|
||||
input_poll_overlay(overlay_ptr, settings->input.overlay_opacity);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_COMMAND
|
||||
|
Loading…
x
Reference in New Issue
Block a user