mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(Xbox) Some buildfixes
This commit is contained in:
parent
dd351a3501
commit
07148293a5
@ -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)
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user