frontend: initial libretro support
[pcsx_rearmed.git] / frontend / main.h
index ffed68b..bdb4870 100644 (file)
 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);
@@ -58,6 +66,9 @@ enum sched_action {
        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,