X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmain.h;h=bdb4870259a1dde9d10a3c6377d3a5d6755f0b7c;hp=bc6c2673d548bc45d07a1752f6bed1473341832d;hb=38c2028e228dcf17f3b4b0ac7e6984d1e1c6df79;hpb=221be40d20d1fc4e1c597b087ea54130b80739f1 diff --git a/frontend/main.h b/frontend/main.h index bc6c2673..bdb48702 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(void); + int get_state_filename(char *buf, int size, int i); int emu_check_state(int slot); int emu_save_state(int slot); @@ -60,6 +68,7 @@ enum sched_action { SACTION_SCREENSHOT, SACTION_VOLUME_UP, SACTION_VOLUME_DOWN, + SACTION_MINIMIZE, SACTION_GUN_TRIGGER = 16, SACTION_GUN_A, SACTION_GUN_B,