(GX) Shows text menu message now ingame

This commit is contained in:
twinaphex 2013-01-14 06:26:45 +01:00
parent 95091eacaa
commit c9b0e1635e

View File

@ -874,10 +874,6 @@ static bool gx_frame(void *data, const void *frame,
(void)data;
if (msg)
snprintf(gx->msg, sizeof(gx->msg), "%s", msg);
else
gx->msg[0] = 0;
if(!frame && !(lifecycle_mode_state & (1ULL << MODE_MENU_DRAW)))
return true;
@ -957,6 +953,11 @@ static bool gx_frame(void *data, const void *frame,
#endif
}
if (msg && !(lifecycle_mode_state & (1ULL << MODE_MENU_DRAW)))
gx_blit_line(15, 355, msg);
else
gx->msg[0] = 0;
GX_CopyDisp(g_framebuf[g_current_framebuf], clear_efb);
GX_Flush();
VIDEO_SetNextFramebuffer(g_framebuf[g_current_framebuf]);