mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Make menu_cbs_Get_value.c line 48 more robust
This commit is contained in:
parent
1efaaab53d
commit
007a7ad044
@ -45,7 +45,8 @@ static void menu_action_setting_disp_set_label_cheat_num_passes(
|
||||
|
||||
*w = 19;
|
||||
strlcpy(s2, path, len2);
|
||||
snprintf(s, len, "%u", global->cheat->buf_size);
|
||||
if (global && global->cheat)
|
||||
snprintf(s, len, "%u", global->cheat->buf_size);
|
||||
}
|
||||
|
||||
static void menu_action_setting_disp_set_label_remap_file_load(
|
||||
|
Loading…
x
Reference in New Issue
Block a user