mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
(Android) Don't do log spamming inside input event queue poll function
This commit is contained in:
parent
6b5b26614d
commit
14ae3ca316
@ -1703,7 +1703,7 @@ static void android_input_poll(void *data)
|
||||
// Read all pending events.
|
||||
while (AInputQueue_hasEvents(android_app->inputQueue))
|
||||
{
|
||||
int processed = 0;
|
||||
//int processed = 0;
|
||||
while (AInputQueue_getEvent(android_app->inputQueue, &event) >= 0)
|
||||
{
|
||||
bool long_msg_enable = false;
|
||||
@ -1891,10 +1891,12 @@ static void android_input_poll(void *data)
|
||||
}
|
||||
|
||||
AInputQueue_finishEvent(android_app->inputQueue, event, handled);
|
||||
processed = 1;
|
||||
//processed = 1;
|
||||
}
|
||||
#if 0
|
||||
if (processed == 0)
|
||||
RARCH_WARN("Failure reading next input event: %s\n", strerror(errno));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else if (ident == LOOPER_ID_MAIN)
|
||||
|
Loading…
x
Reference in New Issue
Block a user