initial psp code, functional menu
[libpicofe.git] / psp / emu.h
diff --git a/psp/emu.h b/psp/emu.h
new file mode 100644 (file)
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);
+
+