mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanup previous commit
This commit is contained in:
parent
6a15f8e540
commit
81cef83f54
4
driver.c
4
driver.c
@ -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
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user