Cleanup previous commit

This commit is contained in:
twinaphex 2015-03-22 06:31:31 +01:00
parent 6a15f8e540
commit 81cef83f54
2 changed files with 2 additions and 8 deletions

View File

@ -394,9 +394,7 @@ void init_drivers(int flags)
if (flags & DRIVER_MENU)
{
init_menu();
if (driver->menu_ctx && driver->menu_ctx->context_reset)
driver->menu_ctx->context_reset();
menu_driver_context_reset();
}
#endif

View File

@ -76,16 +76,12 @@ static void draw_frame(void)
**/
static void menu_update_libretro_info(struct retro_system_info *info)
{
driver_t *driver = driver_get_ptr();
#ifndef HAVE_DYNAMIC
retro_get_system_info(info);
#endif
rarch_main_command(RARCH_CMD_CORE_INFO_INIT);
if (driver->menu_ctx && driver->menu_ctx->context_reset)
driver->menu_ctx->context_reset();
menu_driver_context_reset();
rarch_main_command(RARCH_CMD_LOAD_CORE_PERSIST);
}