File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,6 +188,7 @@ void gfx_widgets_msg_queue_push(
188188
189189 msg_widget -> offset_y = 0 ;
190190 msg_widget -> alpha = 1.0f ;
191+ msg_widget -> alternative_look = (task && (task -> flags & RETRO_TASK_FLG_ALTERNATIVE_LOOK ));
191192
192193 msg_widget -> width = 0 ;
193194
@@ -1168,7 +1169,7 @@ static void gfx_widgets_draw_task_msg(
11681169 size_t task_percentage_offset = 0 ;
11691170 char task_percentage [256 ] = "" ;
11701171 bool draw_msg_new = false;
1171- bool msg_alternative = ( task_get_flags ( msg -> task_ptr ) & RETRO_TASK_FLG_ALTERNATIVE_LOOK ) ;
1172+ bool msg_alternative = msg -> alternative_look ;
11721173
11731174 if (msg -> msg_new )
11741175 draw_msg_new = !string_is_equal (msg -> msg_new , msg -> msg );
Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ typedef struct disp_widget_msg
185185 int8_t task_progress ;
186186 /* How many tasks have used this notification? */
187187 uint8_t task_count ;
188+ bool alternative_look ;
188189} disp_widget_msg_t ;
189190
190191typedef struct dispgfx_widget
You can’t perform that action at this time.
0 commit comments