mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(GX) Buildfix
This commit is contained in:
parent
2ed1e38021
commit
f1ef1a6a59
@ -692,12 +692,13 @@ static void gx_efb_screenshot(void)
|
||||
static void *gx_init(const video_info_t *video,
|
||||
const input_driver_t **input, void **input_data)
|
||||
{
|
||||
void *gxinput = NULL;
|
||||
gx_video_t *gx = (gx_video_t*)calloc(1, sizeof(gx_video_t));
|
||||
settings_t *settings = config_get_ptr();
|
||||
void *gxinput = NULL;
|
||||
gx_video_t *gx = (gx_video_t*)calloc(1, sizeof(gx_video_t));
|
||||
if (!gx)
|
||||
return NULL;
|
||||
|
||||
gxinput = input_gx.init();
|
||||
gxinput = input_gx.init(settings->input.joypad_driver);
|
||||
*input = gxinput ? &input_gx : NULL;
|
||||
*input_data = gxinput;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user