From 3b59939dea00715586eb45acce0fc1fb2515f7f6 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 10 Mar 2021 09:06:39 +0100 Subject: [PATCH] (Menu) Implement as macro invocation --- menu/cbs/menu_cbs_deferred_push.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/menu/cbs/menu_cbs_deferred_push.c b/menu/cbs/menu_cbs_deferred_push.c index 57124f2d22..550ef8c9a7 100644 --- a/menu/cbs/menu_cbs_deferred_push.c +++ b/menu/cbs/menu_cbs_deferred_push.c @@ -89,11 +89,7 @@ static int deferred_push_database_manager_list_deferred( return deferred_push_dlist(info, DISPLAYLIST_DATABASE_QUERY); } -static int deferred_push_remappings_port(menu_displaylist_info_t *info) -{ - return deferred_push_dlist(info, DISPLAYLIST_OPTIONS_REMAPPINGS_PORT); -} - +GENERIC_DEFERRED_PUSH(deferred_push_remappings_port, DISPLAYLIST_OPTIONS_REMAPPINGS_PORT) GENERIC_DEFERRED_PUSH(deferred_push_video_shader_preset_parameters, DISPLAYLIST_SHADER_PARAMETERS_PRESET) GENERIC_DEFERRED_PUSH(deferred_push_video_shader_parameters, DISPLAYLIST_SHADER_PARAMETERS) GENERIC_DEFERRED_PUSH(deferred_push_video_shader_preset_save, DISPLAYLIST_SHADER_PRESET_SAVE)