@@ -1066,23 +1066,41 @@ size_t menu_entries_get_title(char *s, size_t len)
10661066 const char * label = (list -> size ) ? list -> list [list -> size - 1 ].label : NULL ;
10671067
10681068 /* Show playlist entry instead of "Quick Menu" */
1069- if (string_is_equal (label , "deferred_rpl_entry_actions" ))
1069+ if (string_is_equal (label , msg_hash_to_str ( MENU_ENUM_LABEL_DEFERRED_RPL_ENTRY_ACTIONS ) ))
10701070 {
10711071 playlist_t * playlist = playlist_get_cached ();
10721072 if (playlist )
10731073 {
10741074 const struct playlist_entry * entry = NULL ;
10751075 playlist_get_index (playlist , menu -> rpl_entry_selection_ptr , & entry );
1076+
10761077 if (entry )
1078+ {
1079+ char entry_path [NAME_MAX_LENGTH ];
1080+
1081+ strlcpy (entry_path , entry -> path , sizeof (entry_path ));
1082+ path_remove_extension (entry_path );
10771083 return strlcpy (s ,
1078- !string_is_empty (entry -> label ) ? entry -> label : entry -> path ,
1084+ !string_is_empty (entry -> label ) ? entry -> label : path_basename ( entry_path ) ,
10791085 len );
1086+ }
10801087 }
10811088 }
10821089 else
10831090 {
10841091 const char * path = NULL ;
10851092 unsigned menu_type = 0 ;
1093+
1094+ if ( string_is_equal (label , msg_hash_to_str (MENU_ENUM_LABEL_CONTENT_SETTINGS ))
1095+ && !path_is_empty (RARCH_PATH_CONTENT ))
1096+ {
1097+ char content_label [NAME_MAX_LENGTH ];
1098+
1099+ strlcpy (content_label , path_get (RARCH_PATH_CONTENT ), sizeof (content_label ));
1100+ path_remove_extension (content_label );
1101+ return strlcpy (s , path_basename (content_label ), len );
1102+ }
1103+
10861104 if (list -> size )
10871105 {
10881106 path = list -> list [list -> size - 1 ].path ;
0 commit comments