X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2Femu.h;fp=psp%2Femu.h;h=48ce9a3c1ab55c0aad98bdcce66d3d1c9d9180d0;hb=2951214ea65ce2e2ac40671511b8d5a9ea2d2842;hp=0000000000000000000000000000000000000000;hpb=e86e20be7005cebc2eb63a9c6f08e606d42277d1;p=libpicofe.git diff --git a/psp/emu.h b/psp/emu.h new file mode 100644 index 0000000..48ce9a3 --- /dev/null +++ b/psp/emu.h @@ -0,0 +1,31 @@ +// (c) Copyright 2006-2007 notaz, All rights reserved. +// Free for non-commercial use. + +// For commercial use, separate licencing terms must be obtained. + + + +// engine states +enum TPicoGameState { + PGS_Paused = 1, + PGS_Running, + PGS_Quit, + PGS_KeyConfig, + PGS_ReloadRom, + PGS_Menu, + PGS_RestartRun, +}; + +extern char romFileName[]; +extern int engineState; + + +void emu_Init(void); +void emu_Deinit(void); +void emu_Loop(void); +void emu_ResetGame(void); +void emu_forcedFrame(void); + +void emu_stateCb(const char *str); + +