X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmain.h;h=d9718906bc8670846588c83e44707f5f2edaeddb;hp=7267f2b0ac73bc31a818c4165c654832ad72a694;hb=d8432250e1574fb95bd8aab5b7a0231d0c3c3ded;hpb=4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae diff --git a/frontend/main.h b/frontend/main.h index 7267f2b0..d9718906 100644 --- a/frontend/main.h +++ b/frontend/main.h @@ -35,6 +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); @@ -43,7 +52,7 @@ int emu_load_state(int slot); void set_cd_image(const char *fname); extern unsigned long gpuDisp; -extern int ready_to_go; +extern int ready_to_go, g_resetting; extern char hud_msg[64]; extern int hud_new_msg; @@ -56,7 +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,