mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
Prevent yet even more crashes - sigh
This commit is contained in:
parent
21c4a07cf0
commit
c9c4c77d38
@ -700,11 +700,11 @@ bool menu_driver_ctl(enum rarch_menu_ctl_state state, void *data)
|
||||
}
|
||||
break;
|
||||
case RARCH_MENU_CTL_CONTEXT_RESET:
|
||||
if (menu_driver_ctx->context_reset)
|
||||
if (menu_driver_ctx && menu_driver_ctx->context_reset)
|
||||
menu_driver_ctx->context_reset(menu_userdata);
|
||||
break;
|
||||
case RARCH_MENU_CTL_CONTEXT_DESTROY:
|
||||
if (menu_driver_ctx->context_destroy)
|
||||
if (menu_driver_ctx && menu_driver_ctx->context_destroy)
|
||||
menu_driver_ctx->context_destroy(menu_userdata);
|
||||
break;
|
||||
case RARCH_MENU_CTL_SHADER_MANAGER_INIT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user