From 418f248af31e3432859670d6c7c62d80e75570d9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 9 Jan 2015 18:53:16 +0100 Subject: [PATCH] Move rarch_main_wrap struct to retroarch.h --- general.h | 13 ------------- retroarch.h | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 13 deletions(-) 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);