(Menu) Hide Performance Counters if g_extern.perfcnt_enable is false
This commit is contained in:
parent
364c66a5bf
commit
1effecdb86
|
@ -478,6 +478,7 @@ static void menu_common_entries_init(menu_handle_t *menu, unsigned menu_type)
|
||||||
file_list_push(menu->selection_buf, "Core Information", "", MENU_SETTINGS_CORE_INFO, 0);
|
file_list_push(menu->selection_buf, "Core Information", "", MENU_SETTINGS_CORE_INFO, 0);
|
||||||
file_list_push(menu->selection_buf, "Settings", "", MENU_SETTINGS_OPTIONS, 0);
|
file_list_push(menu->selection_buf, "Settings", "", MENU_SETTINGS_OPTIONS, 0);
|
||||||
|
|
||||||
|
if (g_extern.perfcnt_enable)
|
||||||
file_list_push(menu->selection_buf, "", "perfcnt_enable", MENU_SETTINGS_PERFORMANCE_COUNTERS, 0);
|
file_list_push(menu->selection_buf, "", "perfcnt_enable", MENU_SETTINGS_PERFORMANCE_COUNTERS, 0);
|
||||||
|
|
||||||
if (g_extern.main_is_init && !g_extern.libretro_dummy)
|
if (g_extern.main_is_init && !g_extern.libretro_dummy)
|
||||||
|
|
Loading…
Reference in New Issue