Don't need to use verbosity_get_ptr for this

This commit is contained in:
twinaphex 2020-01-30 19:47:03 +01:00
parent 5d428d471c
commit e31ba43b5a

View File

@ -7006,11 +7006,8 @@ unsigned menu_displaylist_build_list(file_list_t *list, enum menu_displaylist_ct
{ {
case MENU_ENUM_LABEL_FRONTEND_LOG_LEVEL: case MENU_ENUM_LABEL_FRONTEND_LOG_LEVEL:
case MENU_ENUM_LABEL_LIBRETRO_LOG_LEVEL: case MENU_ENUM_LABEL_LIBRETRO_LOG_LEVEL:
{ if (verbosity_is_enabled())
bool *verbosity = verbosity_get_ptr(); build_list[i].checked = true;
if (verbosity && *verbosity)
build_list[i].checked = true;
}
break; break;
case MENU_ENUM_LABEL_LOG_TO_FILE_TIMESTAMP: case MENU_ENUM_LABEL_LOG_TO_FILE_TIMESTAMP:
if (settings->bools.log_to_file) if (settings->bools.log_to_file)