mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-07 09:57:49 +00:00
Reorder this code a bit
This commit is contained in:
parent
c9c4c77d38
commit
dd8d01a1cb
@ -700,11 +700,13 @@ bool menu_driver_ctl(enum rarch_menu_ctl_state state, void *data)
|
||||
}
|
||||
break;
|
||||
case RARCH_MENU_CTL_CONTEXT_RESET:
|
||||
if (menu_driver_ctx && menu_driver_ctx->context_reset)
|
||||
if (!menu_driver_ctx || !menu_driver_ctx->context_reset)
|
||||
return false;
|
||||
menu_driver_ctx->context_reset(menu_userdata);
|
||||
break;
|
||||
case RARCH_MENU_CTL_CONTEXT_DESTROY:
|
||||
if (menu_driver_ctx && menu_driver_ctx->context_destroy)
|
||||
if (!menu_driver_ctx || !menu_driver_ctx->context_destroy)
|
||||
return false;
|
||||
menu_driver_ctx->context_destroy(menu_userdata);
|
||||
break;
|
||||
case RARCH_MENU_CTL_SHADER_MANAGER_INIT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user