X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Femu.h;h=f08d12acbe2b9cc7272a5403087e12d8f73258d4;hb=0f4090a90a3d5337db985325f38c7de7ca757847;hp=28aed4f624c0406c6e150275fd2507ad85bace5e;hpb=b79118011b8b1ac835efed1ac5a9ce3bdc55c158;p=libpicofe.git diff --git a/common/emu.h b/common/emu.h index 28aed4f..f08d12a 100644 --- a/common/emu.h +++ b/common/emu.h @@ -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 */ @@ -99,8 +100,10 @@ enum TPicoGameState { void emu_init(void); void emu_finish(void); +void emu_loop(void); int emu_reload_rom(char *rom_fname); +int emu_swap_cd(const char *fname); int emu_save_load_game(int load, int sram); void emu_reset_game(void); @@ -121,7 +124,7 @@ void emu_make_path(char *buff, const char *end, int size); void emu_update_input(void); void emu_get_game_name(char *str150); void emu_set_fastforward(int set_on); -int emu_cd_check(int *pregion, char *fname_in); +void emu_status_msg(const char *format, ...); #ifdef __cplusplus } // extern "C"