X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2Femu.h;h=c27c5661258f05fe5dbaa77bb7687b11f6726df8;hb=b3972d826fe31f82aa3382f80454e5d8ce895705;hp=48ce9a3c1ab55c0aad98bdcce66d3d1c9d9180d0;hpb=2951214ea65ce2e2ac40671511b8d5a9ea2d2842;p=libpicofe.git diff --git a/psp/emu.h b/psp/emu.h index 48ce9a3..c27c566 100644 --- a/psp/emu.h +++ b/psp/emu.h @@ -14,18 +14,22 @@ enum TPicoGameState { PGS_ReloadRom, PGS_Menu, PGS_RestartRun, + PGS_Suspending, + PGS_SuspendWake, }; extern char romFileName[]; -extern int engineState; +extern int engineState, engineStateSuspend; void emu_Init(void); void emu_Deinit(void); void emu_Loop(void); void emu_ResetGame(void); -void emu_forcedFrame(void); +void emu_HandleResume(void); -void emu_stateCb(const char *str); +void emu_msg_cb(const char *msg); +// actually comes from Pico/Misc_amips.s +void memset32_uncached(int *dest, int c, int count);