PSP sustend/resume and stuff

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@306 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-11-25 22:43:35 +00:00
parent f060b8b912
commit 677b5dd814
9 changed files with 98 additions and 5 deletions

View file

@ -66,13 +66,18 @@ int pico_main(void)
break;
case PGS_Suspending:
psp_wait_suspend();
while (engineState == PGS_Suspending)
psp_wait_suspend();
break;
case PGS_RestartRun:
engineState = PGS_Running;
case PGS_Running:
if (psp_unhandled_suspend) {
psp_resume_suspend();
emu_HandleResume();
}
emu_Loop();
#ifdef GPROF
goto endloop;