X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmain.h;h=9483798966e27c26b554a7bec520705826f9f281;hb=4df9f5f8e575c499371f28e86eff265e8dd96291;hp=b64bc4cdc6854c7f95f72dc14c7017d8d02692fc;hpb=8f8926485e641efb187ff9ae11cef9d23d1e8982;p=pcsx_rearmed.git diff --git a/frontend/main.h b/frontend/main.h index b64bc4cd..94837989 100644 --- a/frontend/main.h +++ b/frontend/main.h @@ -35,6 +35,9 @@ extern char cfgfile_basename[MAXPATHLEN]; extern int state_slot; +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); @@ -56,8 +59,18 @@ enum sched_action { SACTION_NEXT_SSLOT, SACTION_PREV_SSLOT, SACTION_TOGGLE_FSKIP, + SACTION_SCREENSHOT, + SACTION_VOLUME_UP, + SACTION_VOLUME_DOWN, + SACTION_MINIMIZE, + SACTION_GUN_TRIGGER = 16, + SACTION_GUN_A, + SACTION_GUN_B, + SACTION_GUN_TRIGGER2, }; +#define SACTION_GUN_MASK (0x0f << SACTION_GUN_TRIGGER) + static inline void emu_set_action(enum sched_action action_) { extern enum sched_action emu_action, emu_action_old;