public int sceDisplayIsForeground() { if (PspDisplay.CurrentInfo.FrameAddress == 0) { return 0; } else { return 1; } }