Themaister/RetroArch — pull request #199 by neagix (2013-05-05 10:51:19+00:00)
Title: Wait for all user input to be released before re-activating the core

Wait for all user input to be released before re-activating the core; this prevents undesired button releases (for A,B for example) being passed to the core.

**Please check for side effects of calling *rgui_input()* and *rarch_input_poll()* in that context, I didn't check them.
Also the usleep() call could be tuned to a different value or removed completely - depending on your judgement.