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:
parent
012d87d05a
commit
7c6a2b2c62
7 changed files with 212 additions and 7 deletions
|
|
@ -108,7 +108,7 @@ struct SharedStatePrivate
|
|||
midiState(threadData->config),
|
||||
graphics(threadData),
|
||||
input(*threadData),
|
||||
audio(threadData->config),
|
||||
audio(*threadData),
|
||||
fontState(threadData->config),
|
||||
stampCounter(0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue