mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
(XMB) Prevent crash when no font driver loaded
This commit is contained in:
parent
8e96700f0f
commit
4dfda8743c
@ -878,7 +878,7 @@ static void xmb_render_messagebox_internal(
|
||||
struct string_list *list = !string_is_empty(message)
|
||||
? string_split(message, "\n") : NULL;
|
||||
|
||||
if (!list || !xmb)
|
||||
if (!list || !xmb || !xmb->font)
|
||||
{
|
||||
if (list)
|
||||
string_list_free(list);
|
||||
|
Loading…
Reference in New Issue
Block a user