evdev: Fix off by one error

The port for player1 is 0, not 1 (we're zero based here).
This commit is contained in:
Christoph "baka0815" Schwerdtfeger 2018-08-27 10:01:08 +02:00
parent fb4b5de863
commit 0f228690ad
1 changed files with 2 additions and 2 deletions

View File

@ -134,8 +134,8 @@ MapleDeviceType GetMapleDeviceType(int value, int port)
MapleDeviceType result = MDT_None;
string result_type = "None";
// Controller in port 1 defaults to VMU for Maple device, all other to None
if (port == 1)
// Controller in port 0 (player1) defaults to VMU for Maple device, all other to None
if (port == 0)
{
result_type = "VMU";
result = MDT_SegaVMU;