fix JNI signatures for getVendorId/getProductId

This commit is contained in:
Toad King 2014-10-31 20:44:14 -05:00
parent d3a7b69f84
commit 003ee30f93

View File

@ -305,7 +305,7 @@ static bool android_input_lookup_name(char *buf,
RARCH_LOG("device name: %s\n", buf); RARCH_LOG("device name: %s\n", buf);
getVendorId = NULL; getVendorId = NULL;
GET_METHOD_ID(env, getVendorId, class, "getVendorId", "()I;"); GET_METHOD_ID(env, getVendorId, class, "getVendorId", "()I");
if (!getVendorId) if (!getVendorId)
goto error; goto error;
@ -318,7 +318,7 @@ static bool android_input_lookup_name(char *buf,
RARCH_LOG("device vendor id: %d\n", *vendorId); RARCH_LOG("device vendor id: %d\n", *vendorId);
getProductId = NULL; getProductId = NULL;
GET_METHOD_ID(env, getProductId, class, "getProductId", "()I;"); GET_METHOD_ID(env, getProductId, class, "getProductId", "()I");
if (!getProductId) if (!getProductId)
goto error; goto error;