trying to fix Libretro build failure

This commit is contained in:
Thomas Jentzsch 2022-01-30 11:38:03 +01:00
parent fe84e613ce
commit fc162e14fb
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ bool retro_load_game(const struct retro_game_info *info)
// Send controller infos to libretro
environ_cb(RETRO_ENVIRONMENT_SET_CONTROLLER_INFO, (void*)controller_infos);
// Send controller input descriptions to libretro
environ_cb(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, desc);
environ_cb(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, (void*)desc);
if(!environ_cb(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &fmt))
{