mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Get rid of dereference before null check warning
This commit is contained in:
parent
397c8acd51
commit
b8ac629fbf
@ -198,7 +198,7 @@ static void input_overlay_load_active(input_overlay_t *ol, float opacity)
|
||||
if (!ol)
|
||||
return;
|
||||
|
||||
if (ol->iface->load)
|
||||
if (ol->iface && ol->iface->load)
|
||||
ol->iface->load(ol->iface_data, ol->active->load_images,
|
||||
ol->active->load_images_size);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user