mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(menu_content.c) Cleanup
This commit is contained in:
parent
064e6a70bc
commit
0f35487e17
@ -126,15 +126,13 @@ error:
|
|||||||
* selection needs to be made from a list, otherwise
|
* selection needs to be made from a list, otherwise
|
||||||
* returns true and fills in @s with path to core.
|
* returns true and fills in @s with path to core.
|
||||||
**/
|
**/
|
||||||
static bool menu_content_find_first_core(void *data)
|
static bool menu_content_find_first_core(menu_content_ctx_defer_info_t *def_info)
|
||||||
{
|
{
|
||||||
char new_core_path[PATH_MAX_LENGTH];
|
char new_core_path[PATH_MAX_LENGTH];
|
||||||
const core_info_t *info = NULL;
|
const core_info_t *info = NULL;
|
||||||
size_t supported = 0;
|
size_t supported = 0;
|
||||||
menu_content_ctx_defer_info_t *def_info =
|
core_info_list_t *core_info = def_info ?
|
||||||
(menu_content_ctx_defer_info_t *)data;
|
(core_info_list_t*)def_info->data : NULL;
|
||||||
core_info_list_t *core_info =
|
|
||||||
(core_info_list_t*)def_info->data;
|
|
||||||
uint32_t menu_label_hash =
|
uint32_t menu_label_hash =
|
||||||
menu_hash_calculate(def_info->menu_label);
|
menu_hash_calculate(def_info->menu_label);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user