While working on an app, I find the following conditions to be consistent of the homePopup():
- When in a supplied game like Invaderz, pressing HOME brings up the homePopup() and exiting from this returns you directly into the game where you left off.
- However, when I press HOME in my custom apps, I get the homePopup() called but exiting from this ārebootsā into the Main Loader instead of returning to my app.
So, what am I missing here? I have looked at the Invaderz code and I donāt see any special preparations for homePopup() to allow this return to happen properly. Iām at a loss. For now, Iāve employed mp.homePopupEnable(0) to disable homePopup() entirely and am using my own function for that button, but I would love to be able to get intoā¦and out ofā¦homePopup() properly.
EDIT: I also noticed that I have to employ mp.inCall=1 to prevent Ringo from trying to sleep. If allowed to attempt it, the display doesnāt actually sleepā¦but āwakingā it will result in a ārebootā back to Loader (I think Iāve seen this symptom described by someone else before, but struggle to find the thread again). I feel like maybe Iām failing to include some critical parameter, function call, or something else that is resulting is this unusual behavior. Iāve searched in the included game sources for clues (since they manage to all behave properly with these two functions), but havenāt hit on anything that stands out yet.