mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 09:39:56 +00:00
(Android) Buildfix
This commit is contained in:
parent
1c07ae1e5a
commit
53c0e57d6d
@ -858,13 +858,12 @@ static void android_input_poll(void *data)
|
|||||||
int ident;
|
int ident;
|
||||||
driver_t *driver = driver_get_ptr();
|
driver_t *driver = driver_get_ptr();
|
||||||
const input_driver_t *input = driver ? (const input_driver_t*)driver->input : NULL;
|
const input_driver_t *input = driver ? (const input_driver_t*)driver->input : NULL;
|
||||||
enum input_device_type device = INPUT_DEVICE_TYPE_NONE;
|
|
||||||
|
|
||||||
if (!input)
|
if (!input)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
while ((ident =
|
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,
|
? -1 : 0,
|
||||||
NULL, NULL, NULL)) >= 0)
|
NULL, NULL, NULL)) >= 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user