Fix input on KitKat for S7800B and other devices with a VID or PID of 0

This commit is contained in:
David Shah 2015-07-02 14:28:38 +01:00
parent 5e0469ce40
commit c2d26cfb23
1 changed files with 2 additions and 10 deletions

View File

@ -278,11 +278,7 @@ static bool android_input_lookup_name(char *buf,
goto error;
CALL_INT_METHOD(env, *vendorId, device, getVendorId);
if (!*vendorId)
{
RARCH_ERR("Failed to find vendor id for device ID: %d\n", id);
goto error;
}
RARCH_LOG("device vendor id: %d\n", *vendorId);
getProductId = NULL;
@ -292,11 +288,7 @@ static bool android_input_lookup_name(char *buf,
*productId = 0;
CALL_INT_METHOD(env, *productId, device, getProductId);
if (!*productId)
{
RARCH_ERR("Failed to find product id for device ID: %d\n", id);
goto error;
}
RARCH_LOG("device product id: %d\n", *productId);
return true;