Make init_system_info function public

This commit is contained in:
twinaphex 2013-01-08 22:52:56 +01:00
parent dfc2d7ed3f
commit 05ec28aef5
3 changed files with 4 additions and 3 deletions

View File

@ -73,7 +73,7 @@ int main(int argc, char *argv[])
config_load();
init_libretro_sym();
init_system_info();
rarch_init_system_info();
init_console_drivers();

View File

@ -613,6 +613,7 @@ bool config_save_keybinds(const char *path);
void rarch_game_reset(void);
void rarch_main_clear_state(void);
void rarch_init_system_info(void);
int rarch_main(int argc, char *argv[]);
int rarch_main_init_wrap(const struct rarch_main_wrap *args);
int rarch_main_init(int argc, char *argv[]);

View File

@ -2586,7 +2586,7 @@ void rarch_main_clear_state(void)
init_state();
}
static void init_system_info(void)
void rarch_init_system_info(void)
{
struct retro_system_info *info = &g_extern.system.info;
pretro_get_system_info(info);
@ -2667,7 +2667,7 @@ int rarch_main_init(int argc, char *argv[])
config_load();
init_libretro_sym();
init_system_info();
rarch_init_system_info();
init_drivers_pre();