mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
fix JNI signatures for getVendorId/getProductId
This commit is contained in:
parent
d3a7b69f84
commit
003ee30f93
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user