mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
menu_ctx_bind_t - we don't need retcode
This commit is contained in:
parent
ecc54b4d4e
commit
85599b27a5
@ -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;
|
||||
|
||||
|
@ -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,
|
||||
|
11
retroarch.h
11
retroarch.h
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user