diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 4e8a90187b..8b0f36082a 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -2519,3 +2519,7 @@ MSG_HASH( MENU_ENUM_SUBLABEL_MENU_INPUT_SWAP_OK_CANCEL, "Swap buttons for OK/Cancel. Disabled is the Japanese button orientation, enabled is the western orientation." ) +MSG_HASH( + MENU_ENUM_SUBLABEL_PAUSE_LIBRETRO, + "If disabled, the content will keep running in the background when we are in the menu." + ) diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index ac31e031a1..93b908ab47 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -163,6 +163,7 @@ default_sublabel_macro(action_bind_sublabel_autosave_interval, MENU_ default_sublabel_macro(action_bind_sublabel_input_remap_binds_enable, MENU_ENUM_SUBLABEL_INPUT_REMAP_BINDS_ENABLE) default_sublabel_macro(action_bind_sublabel_input_autodetect_enable, MENU_ENUM_SUBLABEL_INPUT_AUTODETECT_ENABLE) default_sublabel_macro(action_bind_sublabel_input_swap_ok_cancel, MENU_ENUM_SUBLABEL_MENU_INPUT_SWAP_OK_CANCEL) +default_sublabel_macro(action_bind_sublabel_pause_libretro, MENU_ENUM_SUBLABEL_PAUSE_LIBRETRO) static int action_bind_sublabel_cheevos_entry( file_list_t *list, @@ -224,6 +225,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, { switch (cbs->enum_idx) { + case MENU_ENUM_LABEL_PAUSE_LIBRETRO: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_pause_libretro); + break; case MENU_ENUM_LABEL_MENU_INPUT_SWAP_OK_CANCEL: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_swap_ok_cancel); break;