Fix neGcon input
authorjdgleaver <james@leaver.myzen.co.uk>
Mon, 8 Jul 2019 16:46:56 +0000 (17:46 +0100)
committerjdgleaver <james@leaver.myzen.co.uk>
Mon, 8 Jul 2019 16:46:56 +0000 (17:46 +0100)
frontend/libretro.c

index 91f1b51..a69ad02 100644 (file)
@@ -1823,7 +1823,7 @@ void retro_run(void)
                        // Query digital inputs
                        //
                        // > Pad-Up
-                       if (ret & (1 < RETRO_DEVICE_ID_JOYPAD_UP))
+                       if (ret & (1 << RETRO_DEVICE_ID_JOYPAD_UP))
                                in_keystate[i] |= (1 << DKEY_UP);
                        // > Pad-Right
                        if (ret & (1 << RETRO_DEVICE_ID_JOYPAD_RIGHT))