diff --git a/port/src/console.c b/port/src/console.c index c4c79261e..2a4c2a786 100644 --- a/port/src/console.c +++ b/port/src/console.c @@ -148,6 +148,10 @@ static inline Gfx *conRenderMsgs(Gfx *gdl) Gfx *conRender(Gfx *gdl) { + if (!g_CharsHandelGothicXs || !g_FontHandelGothicXs) { + return gdl; + } + gdl = text0f153628(gdl); if (!conOpen) { diff --git a/port/src/net/net.c b/port/src/net/net.c index 9ef73077f..8c01f4ee5 100644 --- a/port/src/net/net.c +++ b/port/src/net/net.c @@ -777,6 +777,10 @@ Gfx *netDebugRender(Gfx *gdl) return gdl; } + if (!g_CharsHandelGothicXs || !g_FontHandelGothicXs) { + return gdl; + } + gdl = text0f153628(gdl); gSPSetExtraGeometryModeEXT(gdl++, G_ASPECT_LEFT_EXT);