(360) remove g_first_msg

This commit is contained in:
TwinAphex51224 2012-05-28 21:46:32 +02:00
parent 472ac47344
commit 82b7d4d046
2 changed files with 2 additions and 8 deletions

View File

@ -840,10 +840,9 @@ void menu_loop(void)
if (msg)
{
if(IS_TIMER_EXPIRED(d3d9) || g_first_msg)
if(IS_TIMER_EXPIRED(d3d9))
{
xdk360_console_format(msg);
g_first_msg = 0;
SET_TIMER_EXPIRATION(d3d9, 30);
}

View File

@ -38,8 +38,6 @@
#include "config.h"
#endif
static bool g_first_msg;
/* Xbox 360 specific code */
const DWORD g_MapLinearToSrgbGpuFormat[] =
@ -669,10 +667,9 @@ static bool xdk360_frame(void *data, const void *frame,
/* XBox 360 specific font code */
if (msg && !menu_enabled)
{
if(IS_TIMER_EXPIRED(d3d9) || g_first_msg)
if(IS_TIMER_EXPIRED(d3d9))
{
xdk360_console_format(msg);
g_first_msg = 0;
SET_TIMER_EXPIRATION(d3d9, 30);
}
@ -730,8 +727,6 @@ static void xdk360_start(void)
gfx_ctx_set_swap_interval(d3d9->vsync ? 1 : 0, false);
g_first_msg = true;
/* XBox 360 specific font code */
HRESULT hr = xdk360_console_init("game:\\media\\Arial_12.xpr",
0xff000000, 0xffffffff );