From 2de69b3a5c7420f773995e3440e13791e8823375 Mon Sep 17 00:00:00 2001 From: ekeeke Date: Tue, 14 Aug 2018 13:57:00 +0200 Subject: [PATCH] [libretro] corrected max authorized port value in retro_set_controller_port_device function --- libretro/libretro.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libretro/libretro.c b/libretro/libretro.c index f22b8b6..a48872c 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -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)