diff --git a/general.h b/general.h index 1cefd36373..1225336fa5 100644 --- a/general.h +++ b/general.h @@ -818,19 +818,6 @@ struct global retro_keyboard_event_t frontend_key_event; }; -struct rarch_main_wrap -{ - const char *content_path; - const char *sram_path; - const char *state_path; - const char *config_path; - const char *libretro_path; - bool verbose; - bool no_content; - - bool touched; -}; - /* Public data structures. */ extern struct settings g_settings; extern struct global g_extern; diff --git a/retroarch.h b/retroarch.h index 6956118b45..058cf818ba 100644 --- a/retroarch.h +++ b/retroarch.h @@ -17,10 +17,25 @@ #ifndef __RETROARCH_H #define __RETROARCH_H +#include + #ifdef __cplusplus extern "C" { #endif +struct rarch_main_wrap +{ + const char *content_path; + const char *sram_path; + const char *state_path; + const char *config_path; + const char *libretro_path; + bool verbose; + bool no_content; + + bool touched; +}; + void rarch_main_state_new(void); void rarch_main_state_free(void);