Move rarch_main_wrap struct to retroarch.h

This commit is contained in:
twinaphex 2015-01-09 18:53:16 +01:00
parent a10435a476
commit 418f248af3
2 changed files with 15 additions and 13 deletions

View File

@ -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;

View File

@ -17,10 +17,25 @@
#ifndef __RETROARCH_H
#define __RETROARCH_H
#include <boolean.h>
#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);