(XMB) Prevent crash when no font driver loaded

This commit is contained in:
twinaphex 2018-02-03 16:55:24 +01:00
parent 8e96700f0f
commit 4dfda8743c

View File

@ -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);