mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Reimplement deferred_push_performance_counters
This commit is contained in:
parent
280730638d
commit
ac8093ecbf
@ -239,14 +239,6 @@ int push_list(menu_handle_t *menu,
|
||||
setting->name, setting_set_flags(setting), 0);
|
||||
}
|
||||
}
|
||||
else if (!strcmp(label, "performance_counters"))
|
||||
{
|
||||
file_list_clear(list);
|
||||
file_list_push(list, "Frontend Counters", "frontend_counters",
|
||||
MENU_FILE_SWITCH, 0);
|
||||
file_list_push(list, "Core Counters", "core_counters",
|
||||
MENU_FILE_SWITCH, 0);
|
||||
}
|
||||
else if (!strcmp(label, "Input Options"))
|
||||
{
|
||||
settings_list_free(menu->list_settings);
|
||||
|
@ -1467,7 +1467,16 @@ static int deferred_push_performance_counters(void *data, void *userdata,
|
||||
if (!list || !menu_list)
|
||||
return -1;
|
||||
|
||||
return push_list(driver.menu, list, path, label, type);
|
||||
file_list_clear(list);
|
||||
file_list_push(list, "Frontend Counters", "frontend_counters",
|
||||
MENU_FILE_SWITCH, 0);
|
||||
file_list_push(list, "Core Counters", "core_counters",
|
||||
MENU_FILE_SWITCH, 0);
|
||||
|
||||
if (driver.menu_ctx && driver.menu_ctx->populate_entries)
|
||||
driver.menu_ctx->populate_entries(driver.menu, path, label, type);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int deferred_push_video_shader_preset_parameters(void *data, void *userdata,
|
||||
|
Loading…
x
Reference in New Issue
Block a user