From b91949ebe7ccb6bed9b11d6229c4da8c20899c2c Mon Sep 17 00:00:00 2001 From: neonloop Date: Thu, 12 Aug 2021 16:24:52 +0000 Subject: Adds screenshot function --- main.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.h') diff --git a/main.h b/main.h index 146db02..cf6025e 100644 --- a/main.h +++ b/main.h @@ -15,6 +15,7 @@ typedef enum { EACTION_TOGGLE_FF, EACTION_SAVE_STATE, EACTION_LOAD_STATE, + EACTION_SCREENSHOT, EACTION_QUIT, } emu_action; @@ -52,6 +53,7 @@ static inline bool has_suffix_i(const char *str, const char *suffix) { #define PA_ERROR(...) pa_log(RETRO_LOG_ERROR, __VA_ARGS__) #define PA_FATAL(...) do { pa_log(RETRO_LOG_ERROR, __VA_ARGS__); quit(-1); } while(0) +int screenshot(void); void set_defaults(void); int save_config(int is_game); -- cgit v1.2.3