[libretro] corrected max authorized port value in retro_set_controller_port_device function

This commit is contained in:
ekeeke 2018-08-14 13:57:00 +02:00 committed by GitHub
parent d71a8a2fc5
commit 2de69b3a5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
*
* Genesis Plus GX libretro port
*
* Copyright Eke-Eke (2007-2017)
* Copyright Eke-Eke (2007-2018)
*
* Copyright Daniel De Matteis (2012-2016)
*
@ -1983,7 +1983,7 @@ void retro_get_system_av_info(struct retro_system_av_info *info)
void retro_set_controller_port_device(unsigned port, unsigned device)
{
if (port > 2)
if (port > 1)
return;
switch(device)