mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
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:
parent
f060b8b912
commit
677b5dd814
9 changed files with 98 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue