Themaister/RetroArch — pull request #80 by meancoot (2012-12-05 03:56:46+00:00)
Title: Android activity tweaks.

Does two things.

One, restore video context when restoring activity (Traced back to GL_INVALID_VALUE when calling glUseProgram). Without it the screen will stay black when restoring a game.

Two, pause emulation and reduce cpu usage while the activity is paused. Without it emulation, and cpu usage, will continue while the activity is hidden.

(Im still learning the code base so please double check before using)