move CD tray handling out of emu loop
[libpicofe.git] / common / emu.h
index 192d268..f08d12a 100644 (file)
@@ -32,7 +32,7 @@ extern int g_screen_height;
 #define EOPT_EN_CD_LEDS   (1<<10)
 #define EOPT_CONFIRM_LOAD (1<<11)
 #define EOPT_A_SN_GAMMA   (1<<12)
-#define EOPT_PSYNC        (1<<13)
+#define EOPT_VSYNC        (1<<13)
 #define EOPT_GIZ_SCANLN   (1<<14)
 #define EOPT_GIZ_DBLBUF   (1<<15)
 #define EOPT_VSYNC_MODE   (1<<16)
@@ -91,6 +91,7 @@ enum TPicoGameState {
        PGS_KeyConfig,
        PGS_ReloadRom,
        PGS_Menu,
+       PGS_TrayMenu,
        PGS_RestartRun,
        PGS_Suspending,         /* PSP */
        PGS_SuspendWake,        /* PSP */