mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +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)
|
if (flags & DRIVER_MENU)
|
||||||
{
|
{
|
||||||
init_menu();
|
init_menu();
|
||||||
|
menu_driver_context_reset();
|
||||||
if (driver->menu_ctx && driver->menu_ctx->context_reset)
|
|
||||||
driver->menu_ctx->context_reset();
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -76,16 +76,12 @@ static void draw_frame(void)
|
|||||||
**/
|
**/
|
||||||
static void menu_update_libretro_info(struct retro_system_info *info)
|
static void menu_update_libretro_info(struct retro_system_info *info)
|
||||||
{
|
{
|
||||||
driver_t *driver = driver_get_ptr();
|
|
||||||
#ifndef HAVE_DYNAMIC
|
#ifndef HAVE_DYNAMIC
|
||||||
retro_get_system_info(info);
|
retro_get_system_info(info);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
rarch_main_command(RARCH_CMD_CORE_INFO_INIT);
|
rarch_main_command(RARCH_CMD_CORE_INFO_INIT);
|
||||||
|
menu_driver_context_reset();
|
||||||
if (driver->menu_ctx && driver->menu_ctx->context_reset)
|
|
||||||
driver->menu_ctx->context_reset();
|
|
||||||
|
|
||||||
rarch_main_command(RARCH_CMD_LOAD_CORE_PERSIST);
|
rarch_main_command(RARCH_CMD_LOAD_CORE_PERSIST);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user