Update/buildfixes

This commit is contained in:
twinaphex 2017-04-29 12:44:37 +02:00
parent afe173c883
commit 6930262ec2
3 changed files with 3 additions and 3 deletions

View File

@ -420,7 +420,7 @@ static void* ctr_init(const video_info_t* video,
if (input && input_data) if (input && input_data)
{ {
settings_t *settings = config_get_ptr(); settings_t *settings = config_get_ptr();
ctrinput = input_ctr.init(settings->paths.input_joypad_driver); ctrinput = input_ctr.init(settings->arrays.input_joypad_driver);
*input = ctrinput ? &input_ctr : NULL; *input = ctrinput ? &input_ctr : NULL;
*input_data = ctrinput; *input_data = ctrinput;
} }

View File

@ -702,7 +702,7 @@ static void *gx_init(const video_info_t *video,
if (!gx) if (!gx)
return NULL; return NULL;
gxinput = input_gx.init(settings->paths.input_joypad_driver); gxinput = input_gx.init(settings->arrays.input_joypad_driver);
*input = gxinput ? &input_gx : NULL; *input = gxinput ? &input_gx : NULL;
*input_data = gxinput; *input_data = gxinput;

View File

@ -290,7 +290,7 @@ static void* wiiu_gfx_init(const video_info_t* video,
if (input && input_data) if (input && input_data)
{ {
settings_t *settings = config_get_ptr(); settings_t *settings = config_get_ptr();
wiiuinput = input_wiiu.init(settings->paths.input_joypad_driver); wiiuinput = input_wiiu.init(settings->arrays.input_joypad_driver);
*input = wiiuinput ? &input_wiiu : NULL; *input = wiiuinput ? &input_wiiu : NULL;
*input_data = wiiuinput; *input_data = wiiuinput;
} }