menu_ctx_bind_t - we don't need retcode

This commit is contained in:
twinaphex 2020-08-24 16:57:09 +02:00
parent ecc54b4d4e
commit 85599b27a5
3 changed files with 1 additions and 16 deletions

View File

@ -422,7 +422,6 @@ typedef struct menu_ctx_bind
const char *path;
const char *label;
size_t idx;
int retcode;
unsigned type;
} menu_ctx_bind_t;

View File

@ -4219,11 +4219,8 @@ static void menu_cbs_init(
bind_info.idx = idx;
if (!p_rarch->menu_driver_ctx || !p_rarch->menu_driver_ctx->bind_init)
{
bind_info.retcode = 0;
return;
}
bind_info.retcode = p_rarch->menu_driver_ctx->bind_init(
p_rarch->menu_driver_ctx->bind_init(
bind_info.cbs,
bind_info.path,
bind_info.label,

View File

@ -1345,17 +1345,6 @@ typedef struct gfx_ctx_aspect
unsigned height;
} gfx_ctx_aspect_t;
typedef struct gfx_ctx_image
{
const void *frame;
void **handle;
unsigned width;
unsigned height;
unsigned pitch;
unsigned index;
bool rgb32;
} gfx_ctx_image_t;
typedef struct gfx_ctx_input
{
input_driver_t **input;