forked from Ports/perfect_dark
port: net: don't draw console or net debug when the font is unloaded
This commit is contained in:
1 parent
99911b2290
commit
6bd5997059
2 files changed
+8
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user