mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Simplify this
This commit is contained in:
parent
727d0a1683
commit
66b88b60f2
@ -1397,13 +1397,12 @@ static void android_input_poll(void *data)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
int ident;
|
||||
unsigned key = RARCH_PAUSE_TOGGLE;
|
||||
struct android_app *android_app = (struct android_app*)g_android;
|
||||
android_input_t *android = (android_input_t*)data;
|
||||
|
||||
while ((ident =
|
||||
ALooper_pollAll((input_config_binds[0][key].valid
|
||||
&& android_input_key_pressed(android, key))
|
||||
ALooper_pollAll((input_config_binds[0][RARCH_PAUSE_TOGGLE].valid
|
||||
&& android_input_key_pressed(android, RARCH_PAUSE_TOGGLE))
|
||||
? -1 : settings->uints.input_block_timeout,
|
||||
NULL, NULL, NULL)) >= 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user