mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix null pointer deref
This commit is contained in:
parent
ed8e440b0d
commit
376598a6e0
@ -9588,7 +9588,7 @@ static bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
{
|
||||
const struct retro_system_av_info **info = (const struct retro_system_av_info**)&data;
|
||||
struct retro_system_av_info *av_info = &video_driver_av_info;
|
||||
if (info && av_info)
|
||||
if (data)
|
||||
{
|
||||
settings_t *settings = configuration_settings;
|
||||
const bool no_video_reinit =
|
||||
|
Loading…
x
Reference in New Issue
Block a user