add descriptors to P2

This commit is contained in:
radius 2018-02-01 10:08:00 -05:00
parent 408bf5baab
commit 5e04600ab1

View File

@ -539,6 +539,7 @@ void retro_set_environment(retro_environment_t cb)
static const struct retro_controller_info ports[] = { static const struct retro_controller_info ports[] = {
{ controllers, 1 }, { controllers, 1 },
{ controllers, 2 },
{ NULL, 0 }, { NULL, 0 },
}; };
cb(RETRO_ENVIRONMENT_SET_CONTROLLER_INFO, (void*)ports); cb(RETRO_ENVIRONMENT_SET_CONTROLLER_INFO, (void*)ports);