(Android) Buildfix

This commit is contained in:
twinaphex 2015-11-07 21:13:01 +01:00
parent 1c07ae1e5a
commit 53c0e57d6d

View File

@ -858,13 +858,12 @@ static void android_input_poll(void *data)
int ident;
driver_t *driver = driver_get_ptr();
const input_driver_t *input = driver ? (const input_driver_t*)driver->input : NULL;
enum input_device_type device = INPUT_DEVICE_TYPE_NONE;
if (!input)
return;
while ((ident =
ALooper_pollAll((input->key_pressed(driver->input_data, RARCH_PAUSE_TOGGLE, &device))
ALooper_pollAll((input->key_pressed(driver->input_data, RARCH_PAUSE_TOGGLE))
? -1 : 0,
NULL, NULL, NULL)) >= 0)
{