(menu_displaylist.c) Cleanups
This commit is contained in:
parent
fc3bda201e
commit
04fd718262
|
@ -95,15 +95,6 @@ static void menu_displaylist_push_perfcounter(
|
||||||
counters[i]->ident, "", id + i, 0);
|
counters[i]->ident, "", id + i, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int menu_displaylist_push_perfcounter_generic(
|
|
||||||
menu_displaylist_info_t *info,
|
|
||||||
const struct retro_perf_counter **counters,
|
|
||||||
unsigned num, unsigned ident)
|
|
||||||
{
|
|
||||||
menu_displaylist_push_perfcounter(info, counters, num, ident);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* menu_displaylist_parse_drive_list:
|
* menu_displaylist_parse_drive_list:
|
||||||
* @list : File list handle.
|
* @list : File list handle.
|
||||||
|
@ -1823,13 +1814,14 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
|
||||||
case DISPLAYLIST_PERFCOUNTERS_CORE:
|
case DISPLAYLIST_PERFCOUNTERS_CORE:
|
||||||
case DISPLAYLIST_PERFCOUNTERS_FRONTEND:
|
case DISPLAYLIST_PERFCOUNTERS_FRONTEND:
|
||||||
menu_list_clear(info->list);
|
menu_list_clear(info->list);
|
||||||
ret = menu_displaylist_push_perfcounter_generic(info,
|
menu_displaylist_push_perfcounter(info,
|
||||||
(type == DISPLAYLIST_PERFCOUNTERS_CORE) ?
|
(type == DISPLAYLIST_PERFCOUNTERS_CORE) ?
|
||||||
perf_counters_libretro : perf_counters_rarch,
|
perf_counters_libretro : perf_counters_rarch,
|
||||||
(type == DISPLAYLIST_PERFCOUNTERS_CORE) ?
|
(type == DISPLAYLIST_PERFCOUNTERS_CORE) ?
|
||||||
perf_ptr_libretro : perf_ptr_rarch ,
|
perf_ptr_libretro : perf_ptr_rarch ,
|
||||||
(type == DISPLAYLIST_PERFCOUNTERS_CORE) ?
|
(type == DISPLAYLIST_PERFCOUNTERS_CORE) ?
|
||||||
MENU_SETTINGS_LIBRETRO_PERF_COUNTERS_BEGIN : MENU_SETTINGS_PERF_COUNTERS_BEGIN);
|
MENU_SETTINGS_LIBRETRO_PERF_COUNTERS_BEGIN : MENU_SETTINGS_PERF_COUNTERS_BEGIN);
|
||||||
|
ret = 0;
|
||||||
|
|
||||||
need_refresh = false;
|
need_refresh = false;
|
||||||
need_push = true;
|
need_push = true;
|
||||||
|
|
Loading…
Reference in New Issue