mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 03:40:03 +00:00
(360) remove g_first_msg
This commit is contained in:
parent
472ac47344
commit
82b7d4d046
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user