Pause RGSS execution when moving into background on Android

Assuming that there is enough memory for mkxp to stay in the
background and that the OS doesn't kill the process, this should
allow smooth resuming after moving back into the foreground.

For now, EGL context loss is not handled.
This commit is contained in:
Jonas Kulla 2015-01-15 08:02:21 +01:00
parent 012d87d05a
commit 7c6a2b2c62
7 changed files with 212 additions and 7 deletions

View file

@ -108,7 +108,7 @@ struct SharedStatePrivate
midiState(threadData->config),
graphics(threadData),
input(*threadData),
audio(threadData->config),
audio(*threadData),
fontState(threadData->config),
stampCounter(0)
{