mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
menu_widgets: better sanity check for threaded video wrapper (#8722)
This commit is contained in:
parent
ba3f164bdd
commit
4fad77304f
@ -1285,7 +1285,7 @@ static bool video_thread_wrapper_menu_widgets_enabled(void *data)
|
||||
{
|
||||
thread_video_t *thr = (thread_video_t*)data;
|
||||
|
||||
if (thr && thr->driver)
|
||||
if (thr && thr->driver && thr->driver->menu_widgets_enabled)
|
||||
return thr->driver->menu_widgets_enabled(thr->driver_data);
|
||||
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user