mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Fixed a segfault and an issue with AI Service overlay's image mode.
This commit is contained in:
parent
5e156b9d73
commit
c6f55eeb94
@ -1354,6 +1354,7 @@ void menu_widgets_frame(video_frame_info_t *video_info)
|
|||||||
0.00, 1.00, 0.00, 1.00,
|
0.00, 1.00, 0.00, 1.00,
|
||||||
0.00, 1.00, 0.00, 1.00,
|
0.00, 1.00, 0.00, 1.00,
|
||||||
};
|
};
|
||||||
|
menu_display_set_alpha(menu_widgets_pure_white, 1.0f);
|
||||||
|
|
||||||
menu_widgets_draw_icon_blend(video_info,
|
menu_widgets_draw_icon_blend(video_info,
|
||||||
video_info->width, video_info->height,
|
video_info->width, video_info->height,
|
||||||
|
@ -4180,6 +4180,11 @@ static void handle_translation_cb(
|
|||||||
if (string_is_equal(error_string, "No text found."))
|
if (string_is_equal(error_string, "No text found."))
|
||||||
{
|
{
|
||||||
RARCH_LOG("No text found...\n");
|
RARCH_LOG("No text found...\n");
|
||||||
|
if (!text_string)
|
||||||
|
{
|
||||||
|
text_string = (char*)malloc(15);
|
||||||
|
}
|
||||||
|
|
||||||
strlcpy(text_string, error_string, 15);
|
strlcpy(text_string, error_string, 15);
|
||||||
#ifdef HAVE_MENU_WIDGETS
|
#ifdef HAVE_MENU_WIDGETS
|
||||||
if (menu_widgets_paused)
|
if (menu_widgets_paused)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user