mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
(XMB) Fix a segfault during menu toggle
This commit is contained in:
parent
85e29125de
commit
3d3370b725
@ -2917,6 +2917,9 @@ void setting_data_get_label(void *data, char *type_str,
|
||||
label, idx)) == 0)
|
||||
return;
|
||||
|
||||
if (!label)
|
||||
return;
|
||||
|
||||
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
||||
if ((!strcmp(menu_label, "Shader Options") ||
|
||||
!strcmp(menu_label, "video_shader_parameters") ||
|
||||
|
Loading…
Reference in New Issue
Block a user