@@ -2524,6 +2524,7 @@ static void materialui_update_savestate_thumbnail_path(void *data, unsigned i)
25242524 {
25252525 unsigned _state_slot = string_to_unsigned (entry .label );
25262526 if ( _state_slot == MENU_ENUM_LABEL_STATE_SLOT
2527+ || string_is_equal (entry .label , MENU_ENUM_LABEL_STATE_SLOT_RUN_STR )
25272528 || string_is_equal (entry .label , MENU_ENUM_LABEL_STATE_SLOT_STR )
25282529 || string_is_equal (entry .label , MENU_ENUM_LABEL_LOAD_STATE_STR )
25292530 || string_is_equal (entry .label , MENU_ENUM_LABEL_SAVE_STATE_STR ))
@@ -2533,7 +2534,8 @@ static void materialui_update_savestate_thumbnail_path(void *data, unsigned i)
25332534 int state_slot = settings -> ints .state_slot ;
25342535
25352536 /* State slot dropdown */
2536- if (_state_slot == MENU_ENUM_LABEL_STATE_SLOT )
2537+ if ( _state_slot == MENU_ENUM_LABEL_STATE_SLOT
2538+ || string_is_equal (entry .label , MENU_ENUM_LABEL_STATE_SLOT_RUN_STR ))
25372539 state_slot = i - 1 ;
25382540
25392541 gfx_savestate_thumbnail_get_path (path , sizeof (path ),
@@ -3685,17 +3687,6 @@ static bool materialui_render_process_entry_playlist_desktop(
36853687 settings_t * settings = config_get_ptr ();
36863688 bool content_runtime_log = settings -> bools .content_runtime_log ;
36873689 bool content_runtime_log_aggregate = settings -> bools .content_runtime_log_aggregate ;
3688- const char * directory_runtime_log = settings -> paths .directory_runtime_log ;
3689- const char * directory_playlist = settings -> paths .directory_playlist ;
3690- unsigned runtime_type = settings -> uints .playlist_sublabel_runtime_type ;
3691- enum playlist_sublabel_last_played_style_type
3692- runtime_last_played_style =
3693- (enum playlist_sublabel_last_played_style_type )
3694- settings -> uints .playlist_sublabel_last_played_style ;
3695- enum playlist_sublabel_last_played_date_separator_type
3696- runtime_date_separator =
3697- (enum playlist_sublabel_last_played_date_separator_type )
3698- settings -> uints .menu_timedate_date_separator ;
36993690 float fade_duration = gfx_thumb_get_ptr ()-> fade_duration ;
37003691 const struct playlist_entry * entry = NULL ;
37013692 const char * core_name = NULL ;
@@ -3729,13 +3720,7 @@ static bool materialui_render_process_entry_playlist_desktop(
37293720 if (content_runtime_log || content_runtime_log_aggregate )
37303721 {
37313722 if (entry -> runtime_status == PLAYLIST_RUNTIME_UNKNOWN )
3732- runtime_update_playlist (
3733- mui -> playlist , playlist_idx ,
3734- directory_runtime_log ,
3735- directory_playlist ,
3736- (runtime_type == PLAYLIST_RUNTIME_PER_CORE ),
3737- runtime_last_played_style ,
3738- runtime_date_separator );
3723+ runtime_update_playlist (mui -> playlist , playlist_idx );
37393724
37403725 if (entry -> runtime_str && * entry -> runtime_str )
37413726 runtime_str = entry -> runtime_str ;
@@ -5901,7 +5886,6 @@ static bool materialui_is_savestate_list(materialui_handle_t *mui)
59015886 MENU_ENTRY_INITIALIZE (entry );
59025887 entry .flags |= MENU_ENTRY_FLAG_LABEL_ENABLED ;
59035888 menu_entry_get (& entry , 0 , menu_st -> selection_ptr , NULL , true);
5904-
59055889 return
59065890 ( string_is_equal (entry .label , MENU_ENUM_LABEL_STATE_SLOT_STR )
59075891 || string_is_equal (entry .label , MENU_ENUM_LABEL_LOAD_STATE_STR )
@@ -5916,7 +5900,10 @@ static bool materialui_is_savestate_slot(materialui_handle_t *mui)
59165900 MENU_ENTRY_INITIALIZE (entry );
59175901 entry .flags |= MENU_ENTRY_FLAG_LABEL_ENABLED ;
59185902 menu_entry_get (& entry , 0 , menu_st -> selection_ptr , NULL , true);
5919- return string_to_unsigned (entry .label ) == MENU_ENUM_LABEL_STATE_SLOT ;
5903+ return
5904+ ( string_to_unsigned (entry .label ) == MENU_ENUM_LABEL_STATE_SLOT
5905+ || string_is_equal (entry .label , MENU_ENUM_LABEL_STATE_SLOT_RUN_STR )
5906+ );
59205907}
59215908
59225909/* Used for savestate layout list displays.
@@ -9877,6 +9864,7 @@ static void materialui_populate_entries(void *data, const char *path,
98779864
98789865 if ( settings -> bools .savestate_thumbnail_enable
98799866 && ( string_is_equal (label , MENU_ENUM_LABEL_SAVESTATE_LIST_STR )
9867+ || string_is_equal (label , MENU_ENUM_LABEL_STATE_SLOT_RUN_STR )
98809868 || string_to_unsigned (path ) == MENU_ENUM_LABEL_STATE_SLOT ))
98819869 {
98829870 mui -> flags |= MUI_FLAG_IS_SAVESTATE_LIST ;
@@ -11780,6 +11768,7 @@ static void materialui_list_insert(void *userdata,
1178011768 node -> icon_type = MUI_ICON_TYPE_INTERNAL ;
1178111769 }
1178211770 else if ( string_is_equal (label , MENU_ENUM_LABEL_LOAD_STATE_STR )
11771+ || (string_is_equal (label , MENU_ENUM_LABEL_STATE_SLOT_RUN_STR ) && type != MENU_SETTING_ACTION_STATE_SLOT_RUN )
1178311772 || string_is_equal (label , MENU_ENUM_LABEL_OVERRIDE_FILE_LOAD_STR )
1178411773 || string_is_equal (label , MENU_ENUM_LABEL_CHEAT_FILE_LOAD_STR )
1178511774 || string_is_equal (label , MENU_ENUM_LABEL_CHEAT_FILE_LOAD_APPEND_STR )
0 commit comments