Get rid of global driver init/uninit bullshit - we're going to do

console initing/deiniting properly once and for all
This commit is contained in:
twinaphex 2014-05-28 22:09:42 +02:00
parent 839c121ecd
commit d70b8a0f15
3 changed files with 0 additions and 27 deletions

View File

@ -501,22 +501,6 @@ bool driver_update_system_av_info(const struct retro_system_av_info *info)
return true;
}
// Only called once on init and deinit.
// Video and input drivers need to be active (owned)
// before retroarch core starts.
// Core handles audio.
void global_init_drivers(void)
{
init_drivers_pre();
init_drivers();
}
void global_uninit_drivers(void)
{
uninit_drivers();
}
void init_drivers(void)
{
driver.video_data_own = !driver.video_data;

View File

@ -546,9 +546,6 @@ void init_drivers(void);
void init_drivers_pre(void);
void uninit_drivers(void);
void global_init_drivers(void);
void global_uninit_drivers(void);
void init_video_input(void);
void uninit_video_input(void);
void init_audio(void);

View File

@ -44,13 +44,6 @@ static void rarch_get_environment_console(void)
path_mkdir(default_paths.savestate_dir);
path_mkdir(default_paths.sram_dir);
#endif
config_load();
init_libretro_sym(false);
rarch_init_system_info();
global_init_drivers();
}
#endif
@ -307,7 +300,6 @@ void main_exit(args_type() args)
if (g_extern.main_is_init)
rarch_main_deinit();
rarch_deinit_msg_queue();
global_uninit_drivers();
#ifdef PERF_TEST
rarch_perf_log();