GLUI: Fix null label icon (#17538)

This commit is contained in:
sonninnos 2025-02-09 07:11:21 +02:00 committed by GitHub
parent 2c06049a2f
commit 3bf04c6034
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -1550,6 +1550,10 @@ MSG_HASH(
MENU_ENUM_LABEL_DISK_OPTIONS,
"core_disk_options"
)
MSG_HASH(
MENU_ENUM_LABEL_DISK_INDEX,
"core_disk_index"
)
MSG_HASH(
MENU_ENUM_LABEL_DOWNLOADED_FILE_DETECT_CORE_LIST,
"downloaded_file_detect_core_list"

View File

@ -10692,6 +10692,8 @@ static void materialui_list_insert(void *userdata,
* switch */
break;
default:
if (string_is_equal(label, "null"))
break;
#ifdef HAVE_CHEEVOS
if (type >= MENU_SETTINGS_CHEEVOS_START &&
type < MENU_SETTINGS_NETPLAY_ROOMS_START)