port: net: don't draw console or net debug when the font is unloaded

This commit is contained in:
fgsfds committed 2023-12-25 18:25:07 +01:00
1 parent 99911b2290
commit 6bd5997059
2 files changed
+8

No files matched your search

+4
View File
@@ -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) {
+4
View File
@@ -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);