X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmain.h;h=45e0aebb68c12e834a059596f94954af62c63687;hp=22a42f6e4ef124006ab50f94118bf2693d6ebf76;hb=e2bdb933ecee40a0c4caf14a20f5e642e3b93120;hpb=a805c8556900f3abca95c6b6536a9c267f8135fc diff --git a/frontend/main.h b/frontend/main.h index 22a42f6e..45e0aebb 100644 --- a/frontend/main.h +++ b/frontend/main.h @@ -35,7 +35,15 @@ extern char cfgfile_basename[MAXPATHLEN]; extern int state_slot; + +/* emu_core_preinit - must be the very first call + * emu_core_init - to be called after platform-specific setup */ +int emu_core_preinit(void); +int emu_core_init(void); + void emu_set_default_config(void); +void emu_on_new_cd(int show_hud_msg); + int get_state_filename(char *buf, int size, int i); int emu_check_state(int slot); int emu_save_state(int slot); @@ -57,10 +65,14 @@ enum sched_action { SACTION_NEXT_SSLOT, SACTION_PREV_SSLOT, SACTION_TOGGLE_FSKIP, + SACTION_SWITCH_DISPMODE, + SACTION_FAST_FORWARD, SACTION_SCREENSHOT, SACTION_VOLUME_UP, SACTION_VOLUME_DOWN, SACTION_MINIMIZE, + SACTION_TOGGLE_FPS, + SACTION_TOGGLE_FULLSCREEN, SACTION_GUN_TRIGGER = 16, SACTION_GUN_A, SACTION_GUN_B,