(Xbox) Some buildfixes

This commit is contained in:
twinaphex 2017-09-13 03:18:31 +02:00
parent dd351a3501
commit 07148293a5
2 changed files with 2 additions and 2 deletions

View File

@ -106,6 +106,7 @@ static void gfx_ctx_d3d_update_title(void *data, void *data2)
strlcat(video_info->fps_text, mem, sizeof(video_info->fps_text));
}
#ifndef _XBOX
if (window)
{
char title[128];
@ -117,6 +118,7 @@ static void gfx_ctx_d3d_update_title(void *data, void *data2)
if (title[0])
window->set_title(&main_window, title);
}
#endif
}
static void gfx_ctx_d3d_show_mouse(void *data, bool state)

View File

@ -164,7 +164,6 @@ HRESULT CRetroArchMain::OnInit(XUIMessageInit * pInitData, BOOL& bHandled)
char str[PATH_MAX_LENGTH] = {0};
if (
settings->bools.menu_core_enable &&
menu_entries_get_core_title(str, sizeof(str)) == 0)
{
mbstowcs(strw_buffer, str, sizeof(strw_buffer) / sizeof(wchar_t));
@ -571,7 +570,6 @@ static void xui_render(void *data, bool is_idle)
if (XuiHandleIsValid(m_menutitle))
{
if (
settings->bools.menu_core_enable &&
menu_entries_get_core_title(title, sizeof(title)) == 0)
{
mbstowcs(strw_buffer, title, sizeof(strw_buffer) / sizeof(wchar_t));