aboutsummaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorneonloop2023-01-09 14:36:40 +0000
committerneonloop2023-01-09 14:36:40 +0000
commit6d0d8f2ce924a0b1a433280160d90f71121509a4 (patch)
treef2e99784fa3e708ae8ac70d65f721c65cf171184 /main.h
parent50d426b6d2c84d4ddc32009268d99047e83ced7f (diff)
downloadpicoarch-6d0d8f2ce924a0b1a433280160d90f71121509a4.tar.gz
picoarch-6d0d8f2ce924a0b1a433280160d90f71121509a4.tar.bz2
picoarch-6d0d8f2ce924a0b1a433280160d90f71121509a4.zip
Adds initial Funkey S support
Diffstat (limited to 'main.h')
-rw-r--r--main.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/main.h b/main.h
index b46ab2c..1d47177 100644
--- a/main.h
+++ b/main.h
@@ -15,9 +15,18 @@ typedef enum {
EACTION_SAVE_STATE,
EACTION_LOAD_STATE,
EACTION_SCREENSHOT,
+#ifdef FUNKEY_S
+ EACTION_NEXT_SCALER,
+#endif
EACTION_QUIT,
} emu_action;
+typedef enum {
+ CONFIG_TYPE_CORE = 0,
+ CONFIG_TYPE_GAME,
+ CONFIG_TYPE_AUTO,
+} config_type;
+
extern bool should_quit;
extern unsigned current_audio_buffer_size;
extern char core_name[MAX_PATH];
@@ -42,10 +51,10 @@ extern char save_template_path[MAX_PATH];
int screenshot(void);
void set_defaults(void);
-int save_config(int is_game);
+int save_config(config_type config_type);
void load_config(void);
void load_config_keys(void);
-int remove_config(int is_game);
+int remove_config(config_type config_type);
void handle_emu_action(emu_action action);
void pa_log(enum retro_log_level level, const char *fmt, ...);